Class Parameters
Before transferring a file by using a Java applet, you must set the class parameters using set methods.
The following table lists the class parameters:
Parameter | Description |
---|---|
fileTransferServletURL | The URL used to contact the file transfer servlet, for example, https://server:port/cfcc/control?view=servlet/fileTransfer.
This parameter is required. |
transferDirection | This parameter should be set to SEND if the applet is used to sending a file, and should be set to RECEIVE if the applet is used to receive a file. The default value is RECEIVE. |
fileID | This parameter represents the transfer record to be transferred. |
localFileName | The path and name of the local file to be transferred.
This parameter is required. |
serverFileName | The name of server file to be downloaded for a directory transfer.
This parameter is only used when receiving a file from a directory file record. |
sessionID | The ID of the current session.
This parameter is required. |
compression | This parameter defines whether to compress the file being transferred. |
traceLevel | This parameter defines the level of trace to use.
This parameter is optional. |
user id | The user ID to be used in an HTTP request requiring BASIC authentication.
This parameter is a required. |
password | The password to be used in an HTTP request requiring BASIC authentication.
This is a required parameter. |
restartTransfer | This parameter defines whether to restart the transfer.
This parameter is optional. |
checkpointInterval | This parameter defines the number of seconds between checkpoints. |
synchronize | This parameter defines the synchronization level if you initiate multiple transfers at the same time. |
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.