# FTP SCRIPT TO TRANSFER ONE FILE #
HOST='xxxxx'
USER='xxx'
PASSWD='xxxx'
FILE='inst.txt'
ftp -n -v $HOST << END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put inst1.txt
quit
END_SCRIPT
exit 0
HOST='xxxxx'
USER='xxx'
PASSWD='xxxx'
FILE='inst.txt'
ftp -n -v $HOST << END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put inst1.txt
quit
END_SCRIPT
exit 0
0 comments:
Post a Comment