wm.tn.transport:Ftps
Delivers documents through FTP over SSL (also known as FTPS). This service uses the delivery method information from the receiving partner's profile for the delivery method that uses FTPS. The information determines the host name, port number, user name, password, and directory to use to deliver the document.
Input Parameters
serviceName | String The name of the delivery method that must be used to deliver the document through FTPS. |
bizdoc | Document The document you want to deliver. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope. |
retriesRemaining | String The number of retries remaining. The delivery engine passes this information into the server at every attempt of job delivery. |
Output Parameters
serviceOutput | status String The outcome of the delivery. This is either success or fail. statusMessage String The status message from the last attempt to deliver the document. For example, the status message might be 221. transportTime String Total time (in milliseconds) it took to deliver the document. output Document The header and body that was returned from the FTP “put”. For the structure of output, see wm.tn.rec:FtpOutput. |
Usage Notes
![*](bullet.gif)
This service can establish connections only to FTP servers that use SSL; it cannot establish connections to servers that implement other security facilities.
![*](bullet.gif)
FTPS requires an SSL handshake, which results in additional processing and additional exposure to network latency. If very large documents are being transmitted, this additional overhead is likely to be negligible. However, if FTPS is used to deliver small documents, the additional overhead may be significant.
![*](bullet.gif)
If the receiver identified in bizdoc (the partner to receive the document being delivered) is the local partner (the host of the network), this service throws an exception.
![*](bullet.gif)
This service performs a passive transfer.
![*](bullet.gif)
The file name of the delivered document is the internal document ID and the extension is either .xml if the content-type is text/xml or .bizdoc otherwise.