B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Transport Folder | Summary of Elements in this Folder | wm.tn.transport:Ftp
 
wm.tn.transport:Ftp
Delivers documents through FTP. This service uses the delivery method information from the receiving partner's profile for the delivery method that uses FTP. 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 service you must use to deliver a document using FTP.
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
Document The output from the delivery. For the structure of serviceOutput, see wm.tn.rec:FtpDeliveryServiceOutput. The document contains the following keys:
*status String The outcome of the delivery: 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.
a
Usage Notes
*The service throws an exception if the receiver identified to receive the document in bizdoc is a local partner. And the local partner is a host of the network.
*The service performs a passive transfer.
*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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.