LIST_PARSER - UFTP configuration option
Description
The LIST_PARSER option specifies the path to a file containing entries that describe the format of file listings received from FTP servers, based on operating system and/or file system.
UFTP contains built-in rules for parsing the file lists that it receives from commonly used FTP servers running on the specified platforms. Those built-in rules are intended to handle most FTP server responses. However, situations may arise when an FTP server returns a file list in a non-standard format. Keeping the rules for parsing that output in a separate file makes it possible to change UFTP's behavior without requiring a new version of the application.
Usage
Method | Syntax | IBM i | HP NonStop | UNIX | Windows | z/OS |
---|---|---|---|---|---|---|
Command Line, Short Form | n/a | |||||
Command Line, Long Form | -list_parser ddname or filepath | |||||
Environment Variable | UFTPLISTPARSER=filepath | |||||
Configuration File Keyword | list_parser ddname or filepath |
Values
UNIX | filepath is the path name of the file that contains FTP server parsing rules. Relative paths are relative to the current working directory. The default value is parser.txt. |
---|---|
Windows | filepath is the path name of the file that contains FTP server parsing rules. Relative paths are relative to the current working directory. The default value is parser.txt. |
z/OS | ddname is the DD name used to point to a dataset that contains FTP server parsing rules. A sequential dataset with a fixed record length of 80 bytes must be allocated to ddname. ddname also can contain instream data with the FTP server parsing rules. The default value is dd:UFTPPARS. |