5.42.5 GET

The GET command is used to copy a file from the Windows file server to the local filesystem.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

GET

SERVER

value

Optional: File server.

DOMAIN

value

Optional. Windows domain.

USER

value

Optional. User

PASSWORD

value

Optional. Password

FROM

value

Mandatory. Windows server file.

TO

value

Mandatory. Local file.

 

Example

 

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