on 11:50 PM

# FTP SCRIPT TO TRANSFER MULTIPLE FILES #


HOST='XXXXXX'
USER='XXXX'
PASSWD='XXX'
FILE='*.txt'


ftp -v -n -i $HOST <
quote USER $USER
quote PASS $PASSWD
mput FILE $FILE
quit
END_SCRIPT
exit 0

on 11:46 PM

# 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