Gets the FTP configuration object.
Syntax:
Returns:
Object of type FREDI.ediFtpCfg if the call is successful; Empty if the call fails.
Remarks:
The FTP configuration object applies only to FTP transport.
Example:
Set oTransports = oEdiDoc.GetTransports
' Send as FTP
Set oTransport = oTransports.CreateTransport
oTransport.SetFTP
oTransport.Address = "www.destinationDomain.com"
oTransport.User = "UserID"
oTransport.Password = "Password"
oTransport.TargetPath = "folder"
'Set FTP to passive
Dim oftpcfg As Fredi.ediFtpCfg
Set oftpcfg = oTransport.GetFtpCfg
oftpcfg.EnablePassive = TrueoTransport.Send "test.X12"
Samples