MCITP

MCITP

Tuesday, September 17, 2013

FTP command to exchange files between windows and hpux

E:\Script> ftp box.domain.co.uk

User (box.domain.co.uk:(none)): oracle
Password:

ftp>cd /home/test_script/script_original
pwd
257 "/home/test_script/script_original" is current directory.

ftp>help
Commands may be abbreviated.  Commands are:
!               delete          literal         prompt          send
?               debug           ls              put             status
append          dir             mdelete         pwd             trace
ascii           disconnect      mdir            quit            type
bell            get             mget            quote           user
binary          glob            mkdir           recv            verbose
bye             hash            mls             remotehelp
cd              help            mput            rename
close           lcd             open            rmdir

set to binary mode for transfering file to hpux from windows:
ftp>bi
200 Type set to I.
mput sa_readme.txt
mput sa_readme.txt? y

ftp>ascii
200 Type set to A.
mget sa_readme.txt
mput sa_readme.txt? y

ftp>bye