5.24.4 PUT
The PUT command is used to copy a file from the local filesystem to the Windows file server.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
PUT
|
SERVER
|
value
|
Optional: File server.
|
DOMAIN
|
value
|
Optional. Windows domain.
|
USER
|
value
|
Optional. User.
|
PASSWORD
|
value
|
Optional. Password.
|
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. Windows server file path.
|
|
Example
PUT FROM(/folder/file.txt) TO(/Shared/folder/file.txt)