UNIX
dataftp.sh
ftp -in IPAddr. << EOF
user userid passwd
pwd
mget *
EOF
dataftp.sh
ftp -in IPAddr. << EOF
user userid passwd
pwd
mget *
EOF
WINDOWS
callftp.bat
dataftp.bat | ftp -in IPAddr.
dataftp.bat
@echo user userid passwd
@echo pwd
@echo mget *