Directory Download Request Processing

The following table lists the parameters for directory download requests:

Parameter Description
LocalFileName This parameter points to a directory or a file name.
FileName This parameter points to the TIBCO MFT Command Center server file name.
SubDir This parameter defines whether to process files in subdirectories.

When the FileName parameter is defined, it means that you want to process only a single file. If the FileName parameter does not point to a valid TIBCO MFT Command Center server file name, the request fails. If the LocalFileName parameter is not defined, TIBCO MFT Command Center stores the file in the directory pointed to by the ClientFileName parameter of the TIBCO MFT Command Center server. If the LocalFileName parameter points to a file, the file is saved to that file name. If the LocalFileName parameter points to a directory, the file is saved to that directory using the name defined by the FileName parameter. If the LocalFileName parameter is not defined as either a file or directory, it is treated as a file name. If the fully qualified file name is invalid, the request fails, and no directory is created in this case.

When the FileName parameter is not defined, it means that you want to process the contents of the directory. If the LocalFileName parameter is not defined, TIBCO MFT Command Center stores the files in the directory pointed to by the ClientFileName parameter of the TIBCO MFT Command Center server. If the LocalFileName parameter points to a directory, the files are saved to that directory using the names of the server files. If the LocalFileName parameter does not point to a directory, an error is displayed. TIBCO MFT Command Center does not create the high-level directory; the high-level directory must exist. If the SubDir parameter defines to process subdirectories, subdirectories should be created within the directory pointed to by the LocalFileName parameter (or the ClientFileName parameter if the LocalFileName parameter is not defined).