Unix shell ftp command 1. file transfer command: ftp (file transfer program) Format: ftp hostname function: Network file transfer and remote operations. Option: ftp command :? /Help ftp online help ftp-vn $ HOST <EOC logs on to FTP open hostname to open the developed remote machine cd [dirname] to enter the remote machine directory LCD [dirname] to set the Local Machine the directory dir/ls displays the remote directory file binary for binary transmission get/mget get one or more files from the remote machine put/mput send one or more files prompt to the remote machine when you enable or disable multiple file transfers, the interaction prompts close to close the connection to the remote machine, quit, and exit ftp 2. example ftp-vn restart <EOF> $ Main_Dir2/Scripts/logs/AGFA_FTP_Log 'date specify user afnndt afn12ndt cd/data/ndt/SrcFiles/Staging ls-al LCD $ Main_Dir2 prompt mget * AGFA. DOC * mdelete * AGFA. DOC * cd/data/ndt/SrcFiles/history/agfa_tranmissions mput * AGFA. DOC * bye EOF