ANVEDI SFTP
This communication codeunit allows to read mails using the SFTP 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 SFTP server.
Specifies the port of the SFTP server.
Specifies the authentication method for the SFTP Server. The options are:
Use anonymous authentication.
Use username and password for authentication.
Use a private key for authentication.
Specifies the username for the login on the SFTP server.
Specifies the password for the login on the SFTP server.
Upload the private key for the SFTP server authentication here.
Specifies which SSL library to use. The options are:
A managed library (Ssh.NET) is used. This is the default option.
If compatibility issues arise with the default option, WinSCP can be used as an alternative, calling the unmanaged WinSCP executable from the FES directory.
