File Transfer (FTP/SFTP) action

Applies to Infiniti v8.1 or later
 
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.
 
To do this:
 
1. Add the File Transfer (FTP/SFTP) Connection Settings:
    
    1.1 Add the File Transfer (FTP/SFTP) Connection Settings through Connector Settings in Manage (refer to the               Connector Settings article).
          Note: 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.
  • Default Host: IP Address of the remote server you are going to transfer documents to.
  • Default Username: Username to login to that server.
  • Default Password: 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.
  • Default Port: 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”.  
    1.2 Adding File Transfer (FTP/SFTP) Connection Settings through Action Properties in Design.
          The Connection Settings entered using this method instead will override the Default Connection Settings for the particular project you are working on.
          Note: The Connection Settings added through Action Properties in Design will NOT change the Default Connection String to be used for every project.
          To do this:
           
           1.2.1 Add an Action to the Finish Page (refer to Add an Action to a Project article).
 
           1.2.2 Select the File Transfer action from the Type dropdown list and press OK.
                   
 
           1.2.3 The File Transfer action will now be added to the finish page of your project.
                                 
                                                
           1.2.4 Select the File Transfer (SFTP) action on the finish page.
 
           1.2.5 Ensure that the Properties tab is selected.
 
           1.2.6 Under the Action Attribute section, select an Attribute to assign a value to.
                    
                                      
 
           1.2.7 After selecting an Attribute, select a Type

        The following are possible attribute types for the Send Email action:

                                   

  • Answer Value - The value of an Attribute can be populated from the answer field of a Question such as a Text Field, Variable, etc.
  • Data Question - The value of an Attribute can be populated from the data fields within a Data Source.
  • Fixed Value - The value of an Attribute can be set to a fixed, predetermined value. Note: Question references are supported within Fixed Value answers.
            1.2.8 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.
            1.2.9 The properties tab should resemble below:
                      
            1.2.10  Conditions may also be set on the File Transfer (FTP/SFTP) action through the Conditions tab (refer to Defining Conditions article).
2. Run your project in produce, after the documents being generated, they will be transferred to the remote server.
 
 
Note: If you are using Ixtransform, please make sure that your SFTP or FTP server allows request from the following IP address:  23.98.66.136, 23.98.66.167, 23.98.66.249, 23.98.64.20
 

Related Articles

 

 

Keywords

 

ftp/sftp action secure file transfer protocol connector settings answerfile answer file