The put command uploads files to the remote SFTP server.
If the name of the file on the remote server is not specified, its name will be the same as that of the local file by default.
| Parameter | Description | Value |
|---|---|---|
local-filename |
Specifies the name of the local source file on the SFTP client. |
The name is a string. The absolute path of the file ranges from 1 to 64 characters. |
remote-filename |
Specifies the name of the destination file on the SFTP server. |
The name is a string. The absolute path of the file ranges from 1 to 64 characters. |