FTP Context
Description
This Activity establishes a connection to the specified FTP server and enables you to perform multiple actions on the connected FTP server.
Properties
Credentials
- Password – Specify the password to use to connect to the specified FTP server.
- Use Anonymous Login – Specifiy true if you want to connect using anonymous login. by default, this is false.
This option will work if the FTP server supports anonymous login.
- Username – Specify the username to connect to the FTP server.
Misc
- DisplayName – Add a display name to your Activity.
- Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.
Security
-
Accept All Certificates – Specify this option to true while connecting to an FTP server to inform that the client will accept any SSL/TLS certificate presented by the server, regardless of its validity or authenticity. This option turns off the certificate verification process, which typically involves checking if the certificate is issued by a trusted Certificate Authority (CA), if it has expired, or if it matches the server's hostname. By default, this is set to false, indicating that you should provide the certificate path and password to ensure proper certificate validation and a secure connection.
-
Client Certificate – This is the location of the trusted CA certificates or the specific certificate you wish to use for validation. The client uses this certificate to verify the server's certificate.
-
Client Certificate Password – If the certificate file is encrypted with a password, you must provide this password to decrypt and use the certificate.
-
FTPS Mode—Select the type of encryption to use. Choose one from the following options.
FTPS Mode | Description |
---|---|
None | Select this option if you do not wish to enable encryption. |
Explicit | Choose explicit FTPS mode if you want to transfer folders/files securely from/to the FTP server and using the SSL/TLS connection by issuing a command (usually AUTH TLS or AUTH SSL) over the standard port (21). It results in the encryption of the control and optional data channels using SSL/TLS. |
Implicit | Choose implicit FTPS mode to secure an FTP server connection immediately upon connecting using an SSL/TLS connection. It connects to a specific port (990 for the control channel) dedicated to implicit FTPS and SSL/TLS by immediately securing the control and data channels. |
- SFTP – Check this if you are connecting to a Secured FTP server.
- SSL Protocols – Select the SSL/TLS protocol to establish a connection to the FTP server and perform operations. Choose one from the following options.
SSL Protocol | Description |
---|---|
Default | Selecting the "Default" option for the TLS protocol while connecting to an FTP server typically means that the client will automatically choose the highest and most secure version of the TLS protocol that both the client and the server support. This ensures a secure connection without requiring manual selection of a specific TLS version. By default, this option is selected. |
TLS1_0 | Released in 1999, TLS 1.0 was the first version of TLS and is based on SSL 3.0. While it provided significant security improvements over SSL, it is now considered outdated and less secure. |
TLS1_1 | Released in 2006, TLS 1.1 included improvements over TLS 1.0, such as better protection against certain types of attacks. However, it is also considered outdated and needs to be phased out in favor of more secure versions. |
TLS1_2 | Released in 2008, TLS 1.2 introduced stronger cryptographic algorithms and improved security features. It is currently widely used and recommended for securing communications. |
Server
- Host – Specify the IP/URL of an FTP server.
- Initial Directory – Specify the folder path to set as an initial working directory. For Ex: "/", "", "/FolderPath"
- Port – Specify the FTP server listening port number.
Example
Download Example