Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Upload File with SFTP/FTP

Prev Next
Step Details
Introduced in Version---
Modified in Version8.11.0
LocationIntegration > FTP

The Upload File with FTP/SFTP step allows users to transfer files across a network to an FTP (File Transfer Protocol) /SFTP (Secure File Transfer Protocol) server. The step requires proper authentication via username and password to connect to the specified server type, regardless if an FTP server allows anonymous connections.


Note: All Certificates and related information for FTP/SFTP steps are stored within the Flow Step and are not stored independently in the database or the server.


Upload Step

FTP/SFTP

PropertyDescriptionData Type
Get Configuration From DataAllows the user to set the configuration as input fields ---

Server


HostHost name of the FTP server---


PortPort of the FTP server---


SSLEnables user to select an SSL Security Type---


SSL Security TypeChoose the security type as Explicit, Unsecure, Implicit, or Secure.---



Authentication




Use Certificate for AuthEnables users to use a Certificate and Certificate Password for authentication for FTP. Users can use the following types of certificates - X.509, PFX/PKCS#12, and PEM.
---




UsernameUsername for the FTP account---




PasswordPassword for the FTP account---



Proxy




TypeAllows the user to select the Proxy type---



Advanced




Enable CompressionEnables compression of the file being uploaded---

Source File Configuration

PropertyDescriptionData Type
Send File From Physical Path on App Server Allows a user to send a file from a physical path ---

Advanced (SFTP step)

PropertyDescriptionData Type
Show Advanced Options

Enable CompressionEnables compression of the file being uploaded---

SSH Key Exchange AlgorithmEnables the SSH to use a specified algorithm type---
Business MetricsAdds and configures business metrics to be captured in this folder. Business Metrics are quantifiable values that measure the success and efficiency of a given business process. Different process goals call for different metrics to measure their success.---

Inputs

PropertyDescriptionData Type
FileFile to be transferred to FTPFileData
Upload to PathThe FTP directory path for the FTP host starts with the main folder and concludes with the filename, including its extension. For this step to work, including the filename in the path is essential. Additionally, make sure to use a remote ftp path (e.g., "/C:/Folder/test.txt").String



Example (FTP)

In the following example, a Flow will be created to upload a file using FTP. The only prerequisite for this example is an FTP host.

Uploading via SFTP?
This example's configuration mirrors the process for SFTP except replace the Upload step with Upload by SFTP. A SFTP host must be used as well.

An SFTP or FTP host is a computer connected to the internet that hosts the files available for download via SFTP or FTP.
  1. To begin, navigate to a Designer Folder and select CREATE FLOW from the Global Action Bar.
  2. In the Create Flow dialog, select and name the default Flow [Upload with FTP]. Click CREATE to proceed to the Flow Designer.
  3. In the Flow Designer, from the Toolbox > INTEGRATION > FTP category, drag and connect an Upload step to the Start step and the End step.
  4. In the Properties panel > Server > Host value field, enter the name of the host of the FTP server.
  5. In the Authentication > Username and Password fields, add the username and password for the FTP account.
  6. Navigate further down in the Properties panel > INPUTS > File and change the input mapping from Unknown to Constant
  7. In the resulting selector, upload the file to be transferred.
  8. Next, in the Upload to Path value field, provide a path for the uploaded file. 
    Upload to Path Definition
    The Upload to Path value must represent and be formatted as a valid path in the FTP Directory of the FTP Host, beginning with the primary Folder and ending with the File Name.

    Define the file Path in the following format: /[Folder Name]/[Subfolder Name]/[File Name], for example: "/Projects/Project2/test.txt".

  9. Save and Debug the Flow.
    Upload Speed Variance
    Upload speeds will vary by network traffic and transfer speed.

Step Changes

DT TitleDescriptionVersionDate
[DT-037229] SSL Security Type drop-down does not displayAdded a new "SSL Security Type" setting for the FTP steps.8.11April 2023