5.23.7 PUT
The PUT command is used to copy a local file to the remote SFTP server.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
PUT
|
FROM
|
value
|
Required. Local file path. This value can be a relative or absolute path. If the path is relative, the current working directory is the JSM instance directory.
|
TO
|
value
|
Required. Remote file path. This value can be a relative or absolute path. If the path is relative, the current working directory is the remote FTP server's current directory.
|
|
Example
PUT FROM(/folder/file.pdf) TO(/folder/file.pdf)