ProcessUploadFiles

The ProcessUploadFiles command action is used to transfer all files that the user can upload.

The CFInternet client communicates with the TIBCO MFT Internet Server defined by the Global.xml file. It extracts a list of all files that the user can upload. This command causes all files to be uploaded. It does not transfer files to be downloaded. If one transfer is unsuccessful, TIBCO MFT Internet Server continues to the next transfer. The command terminates with one of the following return codes:

Code Meaning
0 All files transferred successfully.
3 No files selected for processing.
4 Partial success.
8 All files transferred unsuccessfully.

The following table lists parameters supported for this command action.

Parameter Description Default Required
RetryInterval Specifies the number of seconds to wait before the next retry. None No
RetryTimes Specifies the number of times to retry the transfer. None No
SilentMode Specifies whether to display the byte count during transfer. The values supported for this parameter are as follows:
  • Y - does not display progress in byte count during transfer.
  • others - displays progress during transfer.
None No
SubDir For directory uploads, if required, specifies TIBCO MFT Internet Server to scan subdirectories for files to transfer.

For directory downloads, if required, specifies TIBCO MFT Internet Server to process data in TIBCO MFT Internet Server subdirectories.

When No is specified, TIBCO MFT Internet Server processes files only in the defined directory.

When Yes is defined, TIBCO MFT Internet Server processes files in subdirectories as well as in the defined directory.

This parameter is valid only for TIBCO MFT Internet Server file definitions defined with the directory flag. It is ignored for all other requests.

This parameter is supported on all List and Process calls.

None No

Sample ProcessUploadFiles Command

The sample command below shows how to transfer all files that the user can upload.

java cfcc.CFInternet a:ProcessUploadFiles