In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Download files from SFTP (that need SSH keys public, private) and move files to Archive

Hello

 

Does anyone have a workflow that will download files from SFTP (using SSH public and private keys) and then move these files to an Archive folder? How do I achieve this?

 

Edit: Looking for a workflow that uses WinSCP. Please share it if you have one.

5 REPLIES 5
apathetichell
19 - Altair

You can use cli to use putty/winscp or you can use paramiko in python. This is not natvely supported by Alteryx and you will need to script it yourself.

Do you have any workflow I could use that uses WinSCP?

apathetichell
19 - Altair

Sorry - I built one a few years back but I don't have access to it anymore.

megaron
5 - Atom

I also need this setup. Does anyone have a workflow for me to follow

apathetichell
19 - Altair

1) read up on how to install python packages (one off paramiko install)

2) ask chatgpt for a script using paramiko tailored to your file naming logic which takes in whatever variables you need.

3) put in python tool.

 

the issue is really your logic --- what files do you want - how do you know you want them? what are you doing with them after? The 'how do I connect to an SFTP via private key' --- is not the problem - that's easy - you use paramiko. The problem is once you've connected --- only you know what you are doing.

Labels
Top Solution Authors