SFTP
Get File List
5min
the action lists file names within a folder, from the ftp/sftp server displays files name, path, type and size ftp connection for our example we used rebex step 1 go to the credentials manager section and click add new step 2 give your credential a name and description (optional) and click next step step 3 configure the ftp / sftp connection as needed port number the port number used by the server protocol type the protocol used depending on the encryption directory path the entry point of the server authentication method here you have the option to use a basic username and password authentication or a user key authentication step 4 click test connection and if successful click save create the process step 1 from the process designer section select create new step 2 give you process a name step 3 drag the action get file list on the canvas and link the action inside you process step 4 create the <%ftpinfo%> <%ftpinfo%> json variable of type list step 5 click the get file list action to access its configurations node name gives you the option to change the actions name select ftp server here we will select the connection created in the previous section folder path allows you to select the path to the folder you wish to check is it recursive? we have the ability to choose true or false file type choose the type of files that should be retrieved output here we will add the variable created at step 4 step 6 save , validate and run the process step 7 click check instance step 8 here you have the ability to check the data saved in our variable by clicking it, or to download the data in the form of a json file