Posten FTP
Download and install the Common package before using any other packages. The Common package contains entities that are required for other packages to work.
Using this functionality also requires an agreement/contract with Posten.
The Posten FTP package facilitates communication with Posten (Swedish mail) via FTP. The package uses an entity filter to decide which Nodes are ready to be sent.
If the Allow downloads attribute is set to 'Y', Posten FTP first tries to download file(s) from a specified folder on the FTP site, and store the files in one or several Nodes. When the download procedure is complete, the package attempts to upload all Nodes with Node attribute _iCPS_Posten Ftp Com Status = 'Queued'. If the upload attempt is successful, the Node attribute is updated to 'Upload ok'.
You can use the procedure calls CallbackOnFileReceivedOK and CallbackOnFileSentOk from the main Script to perform specific actions on received or sent Nodes.
Setting attributes
The package is configured with the following Setting attributes:
Name | Description |
---|---|
Allow downloads | Allow the package to download files from the FTP site (Y/N) |
Create event | Event to create on downloaded Node. |
Node type | Node type on downloaded Node. |
Node type version | Node type version on downloaded Node. |
Password | Password on FTP server. |
Port | The FTP communication port (default: 21). |
Server | FTP server name. |
Server directory | Server directory to scan. |
Timeout | Timeout in milliseconds. |
User | User on FTP server. |
Write trace to log | Y/N |