To do…

 

Use the command…

 

Remarks

 

 

Change the working directory

 

cd pathname

 

 

 

 

on the remote FTP server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Change the working directory

 

cdup

 

 

 

 

to be the parent directory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Get the local working path on

 

lcd

 

 

 

 

the FTP client

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

Display the working directory

 

pwd

 

 

 

on the FTP server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Create a directory on the

 

mkdir pathname

 

 

 

 

remote FTP server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Remove a directory on the

 

rmdir pathname

 

 

 

 

remote FTP server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Delete a specified file

 

delete remotefile

 

 

 

 

 

 

 

 

 

 

 

 

 

dir [ remotefile ] [ localfile ]

 

Optional

 

 

 

 

 

 

If no file name is specified, all

 

 

 

 

 

 

 

 

 

 

 

 

the files in the current directory

 

 

 

 

 

 

are displayed.

 

 

Query a specified file on the

 

 

 

The difference between these

 

 

FTP server

 

ls [ remotefile ] [ localfile ]

 

two commands is that the dir

 

 

 

 

 

command can display the file

 

 

 

 

 

 

 

 

 

 

 

 

name, directory as well as file

 

 

 

 

 

 

attributes; while the Is

 

 

 

 

 

 

command can display only the

 

 

 

 

 

 

file name and directory.

 

 

 

 

 

 

 

 

 

Download a remote file from

 

get remotefile [ localfile ]

 

 

 

 

the FTP server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Upload a local file to the remote

 

put localfile [ remotefile ]

 

 

 

 

FTP server

 

 

 

 

 

 

Rename a file on the remote

 

rename remote-source

 

 

 

 

server

remote-dest

 

 

 

 

 

 

 

 

 

 

 

Log in with the specified user

 

user username [ password ]

 

 

 

 

name and password

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Connect to a remote FTP

 

open { ip-address

 

Optional

 

 

server

 

server-name } [ port ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Terminate the current FTP

 

disconnect

 

 

 

 

connection without exiting FTP

 

 

 

 

 

 

 

close

 

 

 

 

client view

 

 

 

 

 

 

 

 

 

 

 

 

Terminate the current FTP

 

quit

 

 

 

 

connection and return to user

 

 

 

 

 

 

 

bye

 

 

 

 

view

 

 

 

 

 

 

 

 

 

 

 

 

Display the online help about a

 

remotehelp

 

 

 

 

specified command concerning

 

 

 

 

 

 

[ protocol-command ]

 

 

 

 

FTP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enable the verbose function

 

verbose

 

Optional

 

 

 

 

Enabled by default

 

 

 

 

 

 

 

 

 

 

 

 

 

1-7

Page 547
Image 547
3Com WX3000 operation manual Cdup, Lcd, Disconnect, Close, Bye, Remotehelp, Verbose