The File Transfer (FTP/SFTP) Action grants designers the ability to transfer generated documents from Infinti to a remote server via Secure File Transfer Protocol.
Add the File Transfer (FTP/SFTP) Connection Settings through Connector Settings in Manage. Refer to Connector Settings
The Connection Settings added through Connector Settings in Manage will be the Default Connection Settings to be used for every project.
From the above list, the following 7 attributes are mandatory and must be added to any File Transfer (FTP/SFTP) action for it to function correctly.
IP Address of the remote server you are going to transfer documents to.
Username to login to that server.
Password to login to that server.
Default Working Directory
The particular directory in that server that you want to documents to be transferred to (e.g. /upload). Please note that if there is no particular directory you want to upload the documents to, “/” should still be entered.
For SFTP transfer, the default port will always be 22. For FTP transfer, the default port will always be 21.
Default Protocol [FTP/SFTP]
Specify the sending option, either “sftp” or “ftp”.
Default Create Folder [True/False]
Specify whether you want to Working Directory above to be created or not. Either “True” or “False”.
Adding File Transfer (FTP/SFTP) Connection Settings through Action Properties in Design
The Connection Settings added through Action Properties in Design will NOT change the Default Connection String to be used for every project.
- Add an Action to the Finish Page. Refer to Add an Action
- Select the File Transfer action from the Type dropdown list and press OK.
- The File Transfer action will now be added to the finish page of your project.
- Select the File Transfer (SFTP) action on the finish page.
- Ensure that the Properties tab is selected.
- Under the Action Attribute section, select an Attribute to assign a value to.
- After selecting an Attribute, select a Type
The following are possible attribute types for the Send Email action:
The value of an Attribute can be populated from the answer field of a Question such as a Text Field, Variable, etc.
The value of an Attribute can be populated from the data fields within a Data Source.
The value of an Attribute can be set to a fixed, predetermined value. Note: Question references are supported within Fixed Value answers.
- Each Attribute must be added one at a time by selecting the Attribute, selecting a Type, setting or selecting a corresponding Fixed Value / Question and Answer, and then pressing the Add button.
- The properties tab should resemble below:
- Conditions may also be set on the File Transfer (FTP/SFTP) action through the Conditions tab. Refer to Defining Conditions.
Run your project in produce, after the documents being generated, they will be transferred to the remote server.
Updated 24 days ago