11-24-2010
Further to good advice from previous correspondents.
You cannot reference a Windows shared drive from a unix command unless the drive is mapped using extra software such as Samba.
Assuming Samba is not available.
You need to find out exactly where the shared drive was mapped from and set up an ftp account on that target computer with access to that directory.
Because share drives are subjective and real directories within real drives are objective this is actually much easier to deal with in a production environment.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
until recently I've been using the following command successfully:
mount -t smbfs -o username=my_user_name,password=password /home/temp/ //oldserver/openexchange
To connect to a Win2000 shared folder called openexchange on a machine called //oldserver.
But as from today, I've been getting... (2 Replies)
Discussion started by: cw1972
2 Replies
2. Shell Programming and Scripting
Hello All,
Could someone help me out with this? I want to incorporate this into an existing script so the output of a SAS job can be ftp'd from our UNIX box to a directory on a drive in Windows environment. Can this be done with no extra third party software? We currently use Putty for copy... (2 Replies)
Discussion started by: Jose Miguel
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I would like to know if it's possible to create a folder in a Windows Server while running a ftp script in Unix.
The idea is to create a script that searches for different files in folders, and when the file is found, take the path of that file and create it to Windows and ftp the file to... (0 Replies)
Discussion started by: Metalero de Oz
0 Replies
4. Shell Programming and Scripting
Hi,
I m trying to connect/establish FTP from unix shell script to my PC.Below the script i have written
#!/bin/ksh
ftp -v -n ddcappip01.com << "EOF"
user Amit jason
bye
EOF
------------------------------ERROR--------------------------
but i m getting the below error for the... (4 Replies)
Discussion started by: ali560045
4 Replies
5. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
6. UNIX for Advanced & Expert Users
Hi ,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the forum i... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies
7. Shell Programming and Scripting
Hi,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.
Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files
from windows to unix box.When I searched in the... (10 Replies)
Discussion started by: kavithakuttyk
10 Replies
8. Shell Programming and Scripting
Hi All,
We have a requirement of pulling a file from shared folder to our unix box(Our application Servers). The Shared Folder and the servers are in teh same domain for eg UK domain
For this purpose I got information like if in both source and destination ftp is enabled we can fetch the... (2 Replies)
Discussion started by: dhivya.enjoy
2 Replies
9. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
10. Shell Programming and Scripting
Hi,
It will be great help if any of them can provide or tell which scripting is possible to write for checking folder exists or not in Windows server from Unix/Windows machine.
If folder doesn't exist then need to create the folder through script and copy the files.
It is on very... (1 Reply)
Discussion started by: prakashchakra7
1 Replies
LEARN ABOUT FREEBSD
mlxcontrol
MLXCONTROL(8) BSD System Manager's Manual MLXCONTROL(8)
NAME
mlxcontrol -- Mylex DAC-family RAID management utility
SYNOPSIS
mlxcontrol <command> [args]
mlxcontrol status [-qv] [drive]
mlxcontrol rescan controller [controller ...]
mlxcontrol detach drive [drive ...]
mlxcontrol detach -a
mlxcontrol check drive
mlxcontrol config controller
mlxcontrol help command
DESCRIPTION
The mlxcontrol utility provides status monitoring and management functions for devices attached to the mlx(4) driver.
Controller names are of the form "mlxN" where N is the unit number of the controller. Drive names are of the form "mlxdN" where N is the
unit number of the drive. Do not specify the path to a device node.
status Print the status of controllers and system drives. If one or more drives are specified, only print information about these drives,
otherwise print information about all controllers and drives in the system. With the -v flag, display much more verbose informa-
tion. With the -q flag, do not print any output. This command returns 0 if all drives tested are online, 1 if one or more drives
are critical and 2 if one or more are offline.
rescan Rescan one or more controllers for non-attached system drives (e.g. drives that have been detached or created subsequent to driver
initialisation). If the -a flag is supplied, rescan all controllers in the system.
detach Detach one or more system drives. Drives must be unmounted and not opened by any other utility for this command to succeed. If the
-a flag is supplied, detach all system drives from the nominated controller.
check Initiate a consistency check and repair pass on a redundant system drive (e.g. RAID1 or RAID5). The controller will scan the system
drive and repair any inconsistencies. This command returns immediately; use the status command to monitor the progress of the
check.
rebuild Requires two arguments, controller and physdrive as specified in the output of the status command. All system drives using space on
the physical drive physdrive are rebuilt, reconstructing all data on the drive. Note that each controller can only perform one
rebuild at a time. This command returns immediately; use the status command to monitor the progress of the rebuild.
config Print the current configuration from the nominated controller. This command will be updated to allow addition/deletion of system
drives from a configuration in a future release.
help Print usage information for command.
AUTHORS
The mlxcontrol utility was written by Michael Smith <msmith@FreeBSD.org>.
BUGS
The config command does not yet support modifying system drive configuration.
Error log extraction is not yet supported.
BSD
April 10, 2000 BSD