The file-upload name command enables the function of uploading files to an FTP or FTPS server.
The undo file-upload name command disables the function of uploading files to an FTP or FTPS server.
file-upload name name ftp ip-address [ port port ] user user-name password password [ directory directory ]
file-upload name name ftps ip-address [ port port ] user user-name password password [ directory directory | certificate certificate-name ] *
undo file-upload name name
| Parameter | Description | Value |
|---|---|---|
name name |
Specifies the name of an uploaded file. |
The value is a string of case-sensitive characters. If the file name does not contain spaces, it ranges from 1 to 32 characters. If the file name contains spaces, it must be enclosed using double quotation marks, for example, "user for test". In this case, the name ranges from 3 to 34 characters. |
ip-address |
Specifies the IP address of the FTP or FTPS server. |
- |
port port |
Specifies the port number of the FTP or FTPS server. |
- |
user user-name |
Specifies the user name for logging in to the FTP or FTPS server. |
- |
password password |
Specifies the password for logging in to the FTP or FTPS server. |
- |
directory directory |
Specifies the FTP or FTPS server directory to which files are uploaded. |
The value is a string of 1 to 127 characters. |
certificate certificate-name |
Specifies the CA certificate that validates the FTPS server certificate. |
The value is a string of 1 to 63 characters. |
By default, the function of uploading log files to an FTP or FTPS server is disabled.
By default, the function of uploading log files to an FTP or FTPS server is disabled.
When you upload log files to the FTPS server, you must set the certificate certificate-name parameter to specify the CA certificate that validates the server certificate by default.
Before setting certificate certificate-name, you need to first import the CA certificate to the FW memory for it to take effect.