FTP Client Commands 425
Parameter
None
Description
Using the disconnect command, subscribers can disconnect FTP client side from
FTP server side without exiting FTP client side view.
This command terminates the control connection and data connection with the
remote FTP Server at the same time.
Example
Terminate connection with the remote FTP Server and stay in FTP Client view.
[ftp]disconnect
ftp Syntax
ftp [
ipaddress
[
port
] ]
View
User view
Parameter
ipaddress:
IP address of the remote FTP Server.
port:
Port number of remote FTP Server.
Description
Use the ftp command to establish control connection with the remote FTP Server
and enter FTP Client view.
Example
Connect to FTP Server at the IP address 1.1.1.1
<SW5500>ftp 1.1.1.1
get Syntax
get
remotefile
[
localfile
]
View
FTP Client view
Parameter
localfile
: Local file name.
remotefile
: Name of a file on the remote FTP Server.
Description
Use the get command to download a remote file and save it locally.
If no local file name is specified, it will be considered the same as that on the
remote FTP Server.