4

FTP using script not working (for transfering file from a remote unix server to windows PC.)

view full story
linux-howto

http://www.unix.com – hi, Im using the following code for FTP code: #!/usr/bin/ksh ftp -v -n "10.29.45.11" << cmd user "mahesva" "mahesva123" get rtl.tar quit cmd Below is the log when i run the above code ********************************** Connected to 10.29.45.11. 220 (vsFTPd 2.0.1) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type 331 Please specify the password. 230 Login successful. local: rtl.tar remote: rtl.tar 227 Entering Passive Mode (10,29,45,11,210,37) 150 Opening BINARY mode data connection f (HowTos)