ANVEDI FTP
This communication code unit allows to send and receive files using the FTP protocol via the File Exchange Service.
To use this service, you need Anvaigo EDI Connect version 5.3.0.7, and the File Exchange Service must be properly configured and accessible.
Configuration
To configure the communication channel, find it in the EDI Communication Channel List and click on “Configure”. If you’ve just created the channel you might need to refresh the page first.
General
Select or create a new File Exchange Service instance. You have to configure the URL (can be copied from the configuration and is shown on startup if you start the service directly). The default value is http://localhost:7098 and you have to set the API Key corresponding to the configuration file. You can use the server for multiple communication partners.
The folder on the FTP server where you want to receive the files from or sent the files to.
Receiving
Specifies how the File Exchange Server shall handle duplicate files. The two options are:
Files with a name that have previously been imported will not be imported again.
Files with a name that have previously been imported will be imported again.
On incoming communication channels you can filter the names of the files that should be processed. This is a Dynamics filter string and case-sensitive. To filter without checking the case, you have to add the “@” sign in front of the filter.
@*.xmlSpecifies what to do with the files after the import to Dynamics. The options are:
The files are left in the remote path as they are.
The files are deleted from the remote path.
The files are moved to the remote archive path.
The local or network path where the archived files should be written to.
Sending
A template string to build the file name for outgoing files. You can use any constant text that is valid inside file names. We support several global variables that can be used inside the filename. Because the module does not know the content of the file and the used buffer structures you cannot directly access data from the file.
You can use placeholders in this field.
Server
Specifies the address of the FTP server.
Specifies the port of the FTP server.
Specifies the username for the login on the FTP server.
Specifies the password for the login on the FTP server.
Specifies the encryption method to be used. The available options are:
The encryption is automatically negotiated between the File Exchange Service and the remote host. This is the default setting.
No encryption is used.
An encrypted connection is established.
An unencrypted connection is started and the server is asked to continue the communication with encryption.
If the FTP server requires specific settings for the data connection, they can be set here. The available options are:
The connection settings are negotiated automatically between the File Exchange Service and the FTP server. This is the default setting.
Passive mode.
Passive mode, but ignore the passive mode address.
Extended passive mode.
Active port mode.
Extended port mode.
When the connection is encrypted, this option lets you ignore any errors that arise from certificates.
