79
<Sysname> system-view
[Sysname] ftp timeout 36
FTP client commands
Before executing FTP client configuration commands, make sure you have configured authorization
settings for users on the FTP server. Authorized operations include viewing the files in the working
directory, reading/downloading/uploading/renaming/removing files, and creating directories.
The FTP client commands in this section are supported by the device, but whether they can be executed
successfully depends on the FTP server.
The output in the examples of this section varies with FTP server types.
append
Use
append
to add the content of a file on the FTP client to a file on the FTP server.
Syntax
append
localfile
[
remotefile
]
Views
FTP client view
Predefined user roles
network-admin
Parameters
localfile
: Specifies a local file on the FTP client.
remotefile
: Specifies a remote file on the FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Examples
# Append the content of the local
a.txt
file to the
b.txt
file on the FTP server.
ftp> append a.txt b.txt
227 Entering Passive Mode (10,153,116,114,10,184)
150 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\b.txt" file ready to
receive in IMAGE / Binary mode
226 Transfer finished successfully.
4987 bytes sent in 0.00104 seconds (4.56 Mbyte/s)
ascii
Use
ascii
to set the file transfer mode to ASCII.
Syntax
ascii