5. Communicating with FTP dir *.rpm Displays the long listing of files and their properties, such as the size and date the file was created dir filenames ls *.rpm Displays filenames and can use wildcards ls filenames bye Closes the connection and exits the FTP client quit or bye close Closes the connection but does not exit the FTP client close open 192.168.0.100 Once the FTP client has been started, opens a connection open host ftp 192.168.0.100 Initiates a connection to FTP server ftp host Example Description Command
6. Communicating with FTP prompt Starts prompting prompt prompt no Stops prompting for each file when used before you use mget or mput prompt no mput *.tif Uploads multiple files; used with wildcards mput filenames mget sendmail*.rpm Downloads multiple files; used with wildcards Mget filenames put testapp.zip Uploads a single file put filename get test.rpm Downloads a single file get filename ascii Transfer files in text mode ascii binary Transfer files in binary mode binary Example Description Command
7. Communicating with FTP help mget Finds very brief help on FTP commands; if used without a reference to a command, it will give you a list of commands available help command pwd Displays the current directory on the server pwd lcd /docs Moves to another directory on the client lcd directory cd /software Moves to another directory on the FTP server cd directory hash Displays a hash symbol as files are being downloaded hash Example Description Command
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18. Common net Commands net use g: web1ocs Maps a drive net use drive: computerhare net share docs=c:ocs Shares a folder net share name=location net start "FTP Publishing Service" Starts a service net start service net user mnoia Displays user information net user username net user Lists all users net user Example Description Command