SFTP tools for Alteryx
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Connect to SFTP servers
- Supports authentication using public/private key (with OpenSSH compatible key files)
- Download files from an SFTP server
- List all files in a remote directory, incl. file attributes
- Download all files in a remote directory
- Download files from a remote directory as specified in an input data stream
- Download files to a local path or to a blob field in your workflow
- Move or delete files on the server after successful download
- Upload files to an SFTP server
- Upload files from local or network resource by providing their file path
- Upload files stored as blob fields in your data stream
- Move or delete files after successful upload
- Labels:
- Download
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @chrisha , I was trying this solution for a customer as it seems like it is exactly what we need. The customer needs to provide a Private key file to their vendor's SFTP Server to download a file. The issue we ran into is that the tool gives an error on the key file - "Not a DSA-compliant key file". They indicated they generated the key file using SSH-keygen so I thought it should work. Any thoughts?
Thanks,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Andy,
sorry, just came across your post here after you filed the issue over at GitHub.
The library we use should actually handle both RSA and DSA types of key files. And as far as I know the files we use in our projects have been created the same way. When googling for the message to narrow down the issue, I came across some posts saying they weren't able to connect to the server using ppk files and had to convert them to pem files.
There are some guides on how to do this: https://aws.amazon.com/premiumsupport/knowledge-center/convert-pem-file-into-ppk/
Maybe the conversion helps?
Another issue might be a password set for the keyfile, that is not provided in the Alteryx tool. That should produce another error message, but better safe than sorry.
Best
Christopher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Based on installation failures in Designer 2020.4 and higher, I believe that the cryptography package has to be updated in requirements.txt. I updated to most recent (3.4.6) and installation was successful.
Thanks
Jake
Principal Support Engineer
Alteryx, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
This looks really useful. Can I run it in Alteryx Server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for this! We're using it to pull weekly files of gas card transactions for our vendor's ftp site. It worked beautifully to grab them after the first try...of course that was after working a couple hours trying to get the download tool to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How exactly did you update the cryptography package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The following steps should resolve the error:
1. Open the yxi as a zip file (If you have 7-zip installed, you can right click the yxi in file explorer and select "open archive")
2. Locate the folders for both the SFTP Upload and Download tools
3. Inside each tool folder should be a file named "requirements.txt"
4. Open the text files and change line "cryptography==2.7" to "cryptography==3.4.6"
5. Save the files
6. Run the yxi
Principal Support Engineer
Alteryx, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Have issues getting this to work on Alteryx 2021.2.1.
I managed to install the tool and can use it on the canvas but when I run the workflow with my credentials I hit the error attached. The packages in the requirements file have been installed and I have edited the file to reflect the most up-to-date versions.
Could anyone help me out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @AdrianWSH ,
this is a weird bug since 2021.1, but hopefully easy to fix:
Please download and install the pre-release through here: https://github.com/SKOPOS-ELEMENTS/SFTPTools_Alteryx/releases/tag/v1.0.2-alpha
After sucessfully installing the tool, close Alteryx Designer and add the following paths to your systems PATH variable (System settings -> Advanced Settings -> Environment Variables -> PATH -> Edit):
- C:\Program Files\Alteryx\bin\Miniconda3
- C:\Program Files\Alteryx\bin\Miniconda3\Scripts
- C:\Program Files\Alteryx\bin
If you are using the non-admin install of Alteryx, you need to use these paths:
- %USERPROFILE%\AppData\Local\Alteryx\bin\Miniconda3
- %USERPROFILE%\AppData\Local\Alteryx\bin\Miniconda3\Scripts
- %USERPROFILE%\AppData\Local\Alteryx\bin
When Alteryx is restarted, the tools should work properly again.
Best
Christopher
