FTP Notes
Opening a ftp session
Open a dos window and type the following commands
C:\ftp
ftp>open target.url
User:myusername
Password:mypassword
User username logged in.
ftp>commandUseful commands (depending on your server TCP/IP ftp software)
- ftp>? - list available commands (i.e. help)
- ftp>help - list available commands (i.e. ?)
- ftp>bye - close the ftp connectin
- ftp>open - establish a connection (unix)
- ftp>login - establish a connection (mainframe)
- ftp>set - set various parameters
- type - specify character encoding
- ascii - usual default
- binary
- ebcdic
- image
- local_default mydirectory - set the default directory on the originating computer
- ftp>cd newdirectory - change directory on the remote computer
- ftp>put filename - transfer a copy of filename to the remote computer
- ftp>mput filename1 filname2 - put multiple files
- ftp>get filename - transfer a copy of filename to the originating computer
- ftp>mget filename1 filename2 - get multiple files
- ftp>delete filename - remove a file from the remote computer
- ftp>mdelete filename1 filename2 - delete multiple files
- ftp>mkdir directoryname - create a directory on the remote computer
- ftp>rmdir directoryname - remove a directory from the remote computer
- ftp>type filename - display the contents of filename on the screen
- ftp>quit - end the ftp session
- ftp>dir - list the contents of the current directory on the remote computer
- ftp>ls - list the contents of the current directory on the remote computer
Page hits since 01/28/2002
-