Official Content

Warning! This module is not recommended for end-user public applications. Do not add this module to your application unless it is strictly necessary.

GeneXus FTPS Module is an independent module that implements the File Transfer Protocol over SSL  - FTPS (also known as FTPES, FTP-SSL & FTP Secure) including support for TLS. 

This module is based on FluentFTP for .Net implementations and Apache Commons Net for Java implementation.


The module is organized in one folder containing the Ftps Client implementation and the SDT FtpsOptions for connection configuration.



  • SecurityAPICommons Module

.Net & .NET Core

Requires .Net Framework 4.7 since GeneXus 17 upgrade 1

Requires dotnet SDK>=3.1 and 5.0 since GeneXus 17 Upgrade 5

Requieres dotnet SDK>= 6.0 since GeneXus 17 Upgrade 8



Install SecurityAPICommons and GeneXusFtps modules using the Manage Module References dialog from the Knowledge Manager option (located in the GeneXus IDE toolbar).  


Java, .Net Framework, and Net Core Web (server-side module)

FTPS in a nutshell

It is the FTP protocol but using TLS/SSL to secure the channel, and uses typical FTP authentication capabilities.

Therefore, it provides file access, file transfer, and file management over a reliable data stream provided by TLS/SSL.

There are 2 modes of negotiation: Implicit and explicit.

  • On implicit mode, it typically uses the 990 port and establishes an encrypted connection only.
  • The explicit mode allows the client to manage the connection encryption. In cases where the file contents are not sensitive, it could be used to encrypt the authentication and not the file transfer. Force encryption flags could be used to maintain the channel's encryption after authentication. It involves other mechanisms to challenge server encryption algorithms.

Security Tips

Do not trust user inputs!!!

This module could have path manipulation vulnerabilities if not used carefully. 

  • This module does not sanitize paths or file names. Do not trust user inputs.
  • This module allows you to upload to and download from the server any kind of file. Use a whitelist to filter file types.
  • This module allows you to upload to and download from the server any directory on which the user has permissions. Fix/sanitize allowed paths and files.

Do not add this module to an application if it is not necessary.

Take security measures on deployment if external users are not allowed. 


This feature is available since GeneXus 16 upgrade 9.

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant