The LIST command is used to return a list of files in the specified folder.
The supplied working list can be either one, two or five fields.
For a one field list, each entry has the name.
For a two-field list, each sorted entry has type and name.
For a five-field list, each sorted entry has the type, date, time, size, and name.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
LIST | SERVER | value | Optional: File server. |
DOMAIN | value | Optional. Windows domain. | |
USER | value | Optional. User. | |
PASSWORD | value | Optional. Password. | |
PATH | value | Required. Windows server folder. |
LIST PATH(/Shared/folder) #WRKLST(TYPE,FDTE,FTME,SIZE,FILE)