E-Payment Integrator 2020 Android Edition

Questions / Feedback?

FTPSettings Type

Used to connect to an FTP or FTPS server for uploading X9.37 files.

Remarks

These ftp fields are only necessary when uploading an X9.37 file to an FTP or FTPS server. The RemoteHost and RemotePath fields specify the server you wish to connect to. RemotePath contains the path at which you wish to save the file, and RemoteFile indicates the filename that will be saved on the FTP server after upload. (It does not have to match the Filename property). User and Password contain your logon credentials for the FTP server.

Fields

Password
String

The password to login with. This field must be set before the component begins a file upload.

RemoteFile
String

The name of the file as it will appear on the server after upload. The RemoteFile can contain only the file name, an absolute path and filename, or a relative path based on RemotePath.

RemoteHost
String

The domain name or IP address of the FTP server the file is to be uploaded to.

The RemoteHost field specifies the IP address (IP number in dotted internet format) or Domain Name of the FTP server. It is set before a connection is attempted and cannot be changed once a connection is in progress.

If the RemoteHost field is set to a Domain Name, a DNS request is initiated and upon successful termination of the request, the RemoteHost field is set to the corresponding address. If the search is not successful, an error is returned.

If the component is configured to use a SOCKS firewall, the value assigned to this property may be preceded with an "*". If this is the case, the host name is passed to the firewall unresolved and the firewall performs the DNS resolution.

RemotePath
String

The current path on the FTP server. The RemotePath shows the current working directory on the FTP server. It can also be used to change the working directory by setting it to an absolute directory path, or a relative path with respect to the existing value of RemotePath.

If the first two bytes of the new path are "..", then a change to one level above in the directory tree is performed.

The RemotePath must be set before the component begins a file upload.

RemotePort
int

The port for the FTP service (default is 21). A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before a connection is attempted and cannot be changed once a connection is established. Any attempt to change this property while connected will fail with an error.

Timeout
int

A timeout to use when uploading via FTP.

When uploading the X9.37 file to the FTP RemoteHost, the component will use this field to determine how long to wait for the operation to complete before returning control. The Timeout field cannot be set to 0

The default value for the Timeout field is 60 (seconds).

User
String

The user id to login as. This field must be set before the component begins a file upload.

Constructors

public FTPSettings();



Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Android Edition - Version 20.0 [Build 7941]