I am trying to ftp some files from a certain directory, but i got an invalid command. does anybody know why i got this error?
ftp -v -i -n <<SCRIPT
open servername
user
username password
cd /server/logs
for file in MCWAS*
do
put ${file} /home/test/${file}
done
bye
SCRIPT (2 Replies)
Does anyone have any examples, similar to the one below that utilize the C shell
#! /usr/bin/csh -f
I'm already using the C shell for some sleep, loop logic and want to incorportant a ftp process when the loop was sucessful. Now I'm kinda stuck, because the 2 seperate pieces that i wanted to... (0 Replies)
Hi,
I have to ftp to a remote machine.
i have got the Ip, username and password and the file path..
I need to get the file name with out user intervention in my script..
is there any way to do this..
please help
esham (2 Replies)
Hi All,
I want to make a ftp call using a separate file where the ftp commands will reside.
Please find below the details:
I have 2 files Sample1.sh and Properties
Properties
---------
<username>
<password>
.... other ftp commands
Sample1.sh
----------
ftp -v <servername> <... (1 Reply)
hi:
I am trying to move files from server to server with ftp.
I want the command to read a folder and upload all subdirs and files.
what is the command to do this?
is there something cooler than ftp? if so. how to use it?
thanks again. (2 Replies)
Hi Everybody,
I have come across a problem while doing FTP using shell scripting. So I request any of you can give some idea of how to go about solving the problem but i request you not to give the solution please. Because i'm a java developer newly into Unix shell progrmming and am very enthu... (1 Reply)
Hi
I am new in UNIX field. I don't know if I am posting in right forum or not. And I have also found out that there are so many posts about ftp shell scripting. I have tried those but actually having some problem.
Well, my script should do the following..... It finds files( the filename ended... (3 Replies)
I am running the following on linux (on a mac):
filename="/Users/thisfilename.txt"
hostname="ftp.mysite.com"
username="myusername"
password="mypassword"
echo '=======FTP========'
ftp -un $hostname <<EOF
quote USER $username
quote PASS $password
binary
put $filename
quit
EOF
I... (4 Replies)
Discussion started by: globalnerds
4 Replies
LEARN ABOUT DEBIAN
ql-set-cmd-timeout
ql-set-cmd-timeout(8) System Administration ql-set-cmd-timeout(8)NAME
ql-set-cmd-timeout - set the timeout on the devices connected to the QLogic FC HBA.
SYNOPSIS
ql-set-cmd-timeout [OPTIONS]
DESCRIPTION
QLogic Linux Set Device Timeout Utility
This utility allows you to set the timeout on the devices connected to the QLogic FC HBA. This timeout value applies to the commands sent
to the device. This can help when target devices take longer to execute a command, for example under heavy I/O. Setting a longer timeout
reduces the chance of the Linux SCSI mid-layer driver aborting the tasks after a timeout.
[DEFAULT]
Display timeout of devices connected to all HOSTs
[HOST]
Display timeout of devices connected to HOST
[HOST] [TARGET]
Display timeout of devices connected to a TARGET on HOST
[HOST] [TARGET] [TIMEOUT]
To set timeout on devices connected to a TARGET on HOST
-h, --help, ?
Prints this help message
-i, --interactive
Use this option to use the menu driven program
SEE ALSO ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-hba-snapshot(8)Matthias Schmitz <matthias@sigxcpu.org> August 2008 ql-set-cmd-timeout(8)