10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
#!/usr/bin/ksh
export filename=/grid/PowerCenter/inbound/AT/filelist.txt
export SOURCE_DIR=/grid/PowerCenter/inbound/AT
export ICOMS_FTP_TGT_DIR1=/dw/input/ATU/ICOM_SERV1
export ICOMS_FTP_TGT_DIR2=/dw/input/AT/ICOM_SERV2
export FILE_MASK="ATRPU_RP_ATU"
echo "start"
ftp_data_file()
{
... (15 Replies)
Discussion started by: vsmeruga
15 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: abhishek_510
3 Replies
4. Shell Programming and Scripting
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)
Discussion started by: RSC1985
1 Replies
5. Shell Programming and Scripting
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)
Discussion started by: jason7
2 Replies
6. Shell Programming and Scripting
Can some one help with script to track ftp logins on AIX server.. (1 Reply)
Discussion started by: ddk2oo5
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: pickpeters
1 Replies
8. Shell Programming and Scripting
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)
Discussion started by: esham
2 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: mmarsh
0 Replies
10. Shell Programming and Scripting
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)
Discussion started by: caesarkim
2 Replies