5.42.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 for Command/Keyword/Value

PUT

SERVER

value

Optional: File server.

DOMAIN

value

Optional. Windows domain.

USER

value

Optional. User

PASSWORD

value

Optional. Password

FROM

value

Mandatory. Local file path.

TO

value

Mandatory. Windows server file path.

 

 

Example

 

USE BUILTIN(JSM_COMMAND) WITH_ARGS('PUT FROM(DATA.TXT) TO(/Shared/data.txt)') TO_GET(#JSMSTS #JSMMSG)