Using the File Transfer Service

The File Transfer service is used by the web service client to perform non-transfer actions. These actions include password, file list, and audit action. Internet transfers are performed using the Java API.

Procedure

  1. Contact the File Transfer service at https://[DNS_HostName]:[Port]/[contextname]/control?view=services/FTService
  2. Execute the getSession (or getBWSession) method of the FTTransfer service. This call returns a session string that is to be used in all further contact to the FTTransfer service.
  3. Execute all other service methods needed to perform the required task.
  4. Execute the closeSession method of the File Transfer service.

    This action will close the current session.

    The getBWSession method is equivalent to the getSession method with the following exception. If the getSession method is executed, any subsequent call within this session that returns an array of data will return a null record as the last record in the array. If the getBWSession method is executed, any subsequent call within this session that returns an array of data will not return a null record as the last record in the array.