
85
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Examples
# Terminate the connection to the FTP server without exiting the FTP client view.
ftp> disconnect
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
ftp>
Related commands
close
display ftp client source
Use
display ftp client source
to display the source address settings on the FTP client.
Syntax
display ftp client source
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the source address settings on the FTP client.
<Sysname> display ftp client source
The source IP address of the FTP client is 1.1.1.1.
The source IPv6 address of the FTP client is 2001::1.
ftp
Use
ftp
to log in to an FTP server and enter FTP client view.
Syntax
ftp
[
ftp-server
[
service-port
] [
vpn-instance
vpn-instance-name
] [
dscp
dscp-value
|
source
{
interface
interface-type
interface-number
|
ip
source-ip-address
} ] ] *
Views
User view
Predefined user roles
network-admin
Parameters
ftp-server
: Specifies the IPv4 address or host name of an FTP server. A host name can be a
case-insensitive string of 1 to 253 characters. Valid characters for a host name include letters, digits,
hyphens (-), underscores (_), and dots (.).
service-port
: Specifies the TCP port number of the FTP server, in the range of 0 to 65535. The
default value is 21.