Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Check if File exists in sFTP

sdevireddy
6 - Meteoroid

How do we check if a file exists in sFTP?

 

It is easy to check if a file is available in a folder or not using the FileExists function.

But not sure how do we check if a file is available in sFTP or not. If a file is available, I would like to call another Workflow.

2 REPLIES 2
Aguisande
15 - Aurora
15 - Aurora

Hi @sdevireddy 

What I do in this cases is to use the Run Command tool with curl, then searching for the filename (and dats) are in the listing.

Aguisande_2-1648153080061.png

 

Aguisande_0-1648153034209.png

 

Aguisande_1-1648153053688.png

 

rcf3bjfd
5 - Atom

Hello,

 

This is a great example. Would you mind sharing the code and .bat file?

Labels
Top Solution Authors