Transferring files to or from protocol bridge agents

You can transfer files to and from an FTP or SFTP file server outside your WebSphere® MQ File Transfer Edition network using a protocol bridge agent.

When you transfer files using the protocol bridge, the bridge must have permission to read the source or destination directory containing the files you want to transfer. For example, if you want to transfer files from the directory /home/fte/bridge that has only execute permissions (d--x--x--x), any transfers you attempt from this directory fail with the following error message:
BFGBR0032E: Attempt to read filename from the protocol file server has failed with server error 550
Failed to open file.

During file transfer, files are typically written as temporary files at the destination and are then renamed when the transfer is complete. However, if the transfer destination is a protocol file server that is configured as limited write (users can upload files to the protocol file server but cannot change those uploaded files in any way; effectively users can write once only), transferred files are written to the destination directly. This means that if a problem occurs during the transfer, the partially-written files remain on the destination protocol file server and WebSphere MQ File Transfer Edition cannot delete or edit these files. In this situation the transfer fails.

Ensure that you have another agent in your WebSphere MQ File Transfer Edition network in addition to the protocol bridge agent. The protocol bridge agent is a bridge to the FTP or SFTP server only and does not write transferred files to the local disk. If you want to transfer files to or from the FTP or SFTP server you must use the protocol bridge agent as the destination or source for the file transfer (representing the FTP or SFTP server) and another standard agent as the corresponding source or destination.


Reference Reference

Feedback

Timestamp icon Last updated: Tuesday, 30 January 2018
http://www.ibm.com/support/knowledgecenter/SSEP7X_7.0.4/com.ibm.wmqfte.doc/bridge_transfer.htm