5 3 13 LIST

LANSA Integrator

5.3.13 LIST

The LIST command is used to retrieve a list of files and directories from the SFTP server.

RDML Clients require the list definition to be passed using the SERVICE_LIST keyword.

The path can contain operating system wild characters.

The list object argument requires one, two or five fields.

If a one field list is being used, then the unprocessed lines are added to the list.

If a two field list is being used, the first field receives the file type and second field receives the file name.

If a five field list is being used, the first field receives the file type, the second field receives the date, the third field receives the time, the fourth field receives the size and fifth field receives the file name.

The type field can contain the following values:

  • F - File
  • D - Directory
  • L - Link

 

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

LIST

PATH

value

Optional. Directory path.
Default. Current directory.
The path can contain operating system wild characters.

TIMEZONE

value

Optional. Timezone of FTP server.
Default. JVM default timezone.