You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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)

  • No labels