Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Download files from SFTP and upload them into SQL server

joey1234
5 - Atom

How to download files from the SFTP location and upload them to the SQL server, if there is no File found in the SQL server and an error pops up then it should automatically send an email to the user.

Currently, it is set to download to the local desktop, which needs to be changed to the SQL server, and then the error trigger email workflow has to be added to the existing workflow. 

Please help.

 

joey1234_0-1655238571194.png

 

1 REPLY 1
MatthewO
Alteryx Alumni (Retired)

@joey1234 it seems like you could use a Dynamic Input tool to read file after it is downloaded with the Download Tool. Then, you could connect an Output Data tool to write the file contents to SQL Server.