Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN VANConnectivity Folder | Summary of Elements in this Folder | VAN.VANConnectivity:FTPConnection
 
VAN.VANConnectivity:FTPConnection
WmEDIforTN. Opens the initial FTP connection.
Input Parameters
serverName
String The name or IP address of the VAN, e.g., ftp.icctrade.com.
userName
String Valid user on the remote VAN server, e.g., anonymous.
passWord
String A valid password for the VAN user specified in userName, e.g., someone@somewhere.
portNum
String (optional) The port number on which the FTP server listens for requests, e.g., 4566. The default is 21.
account
String (optional) A valid account for the VAN user specified in userName, e.g., someone.
retryLimits
String (optional) The number of times to attempt to reconnect to the VAN in the event the initial FTP connection fails. The default is zero (0).
dataPort
String (optional) The listener port number of the data transfer channel, e.g., 3345. If you do not specify this information, the Integration Server chooses the listener port number.
encoding
String (optional) Character set in which the document is encoded, e.g., ISO-8859-1. This parameter converts the String object to bytes correctly. Specify an IANA-registered character set. If this parameter is null, the default JVM encoding is used.
waitTime
String (optional) The number of seconds to wait between attempts to build the connection to the VAN. If you do not specify the value, the default is zero (0).
timeout
String (optional) The number of seconds to wait for a response from the FTP server before timing out and aborting the request. The default is zero (0), which signifies to wait indefinitely.
secureFTP
String Indicates whether the remote FTP server is a secure server.
Value
Meaning
true
The FTP server is a secure server.
false
The FTP server is not a secure server.
Output Parameters
sessionkey
String Unique key that identifies current session information.
secureFTPOption
Document Includes the options securedata and auth.
Key
Description
securedata
Specify true to protect the FTP data channel, or false.
auth
Authentication/security mechanism. Specify SSL, TLS, or TLS-P.