Forum Discussion

mtran21's avatar
mtran21
New Contributor III
6 years ago
Solved

Download all files from SFTP to a folder

Hi, I want to download all the files in a remote SFTP server to the Files folder. I think this is a pretty simple task but I am new, so I am not sure what to do. So I am thinking of using these 2 s...
  • siwadon's avatar
    siwadon
    6 years ago

    The output file should be decrypted already, but with the encrypted filename.$['content-location'] will be the url of the encrypted file because File Writer is connected to PGP Decrypt.

    You could replace or append the file extension if you know what the original extension is.

    • .replace('pgp', 'txt')
    • + ".txt"