Hi,
i have one shell script which transfers files from one server to other server through FTP, but i can see login id and password is not mentioned.
kindly help to understand the script.then how below script is working if login and password is not mentioned in script
#!/bin/sh
LOCAL=/u04/server/shared/Files
REMOTESERVER=abc43.mpcc.com
REMOTE=/data/dev/ebs/cat/
cd $LOCAL
rm *.gz
gzip *.DAT
ftp -v $REMOTESERVER <<INPUT_END
cd $REMOTE
prompt off
put D_HEAD_D.DAT.gz
put D_ITEM_D.DAT.gz
quit
INPUT_END
exit 0
****************
Thnx