Please enable JavaScript to view this site.

Altova FlowForce Server 2022 Advanced Edition

The /system/sftp container includes functions used to connect to an FTP server using Secure FTP (SFTP) and perform operations such as file upload and retrieval, creating and removing directories, deleting files, and others.


In terms of path conventions, the /system/sftp functions have the same characteristics as functions from the /system/ftp container. Otherwise, they use a totally different protocol and require that the connection to the server be established in a dedicated FlowForce step. Once you have established the SFTP connection, you can use it in subsequent steps to perform the required operations on the FTP server, for example:


In the example job illustrated above, two steps are defined:


The first step establishes the SFTP connection and declares this object as my_sftp_connection.

The second step retrieves all the files from the current directory on the FTP server to the local working directory C:\Local. The first parameter points to the my_sftp_connection object declared in the first execution step.



Wildcards in SFTP functions

The following functions accept wildcards as parameters:






When using such functions, you can enter wildcards in the dedicated Wildcard parameter. The wildcards that you can use are as follows:






Match zero or more characters.

*.htm will match home.htm and index.htm


Match any single character.

*.xm? will match index.xml and project.xmi


The wildcard + (one or more) is not supported. Instead, you can use ?* to achieve the same effect. For example, *.c?* will match .cs , .cp and .csproj files but will not match .c files.


© 2015-2021 Altova GmbH