First time poster here so appologies if I miss anything.
I am using the SFTP.Activities package by Dcunha to upload a file to our local SFTP. Actually a few files using a For Each function but I’ve deconstructed it and made it as simple as possible to try and debug the error I’m getting.
First I did a For Each Item in Directory.GetFiles(“FilePath”)… Upload
Now I’m just doing a single file on my desktop to the SFTP.
The strangest thing is this process worked 2 days ago when I first built it… now its not (don’t know if I forgot to save or what).
But it doesn’t make sense cause when I do a write line, or check the Input when debugging, the file path works for sure and the file is definitely there.
@Kevin_James I see in the screenshot you are trying to upload the file (CEO.xlsx) which is on the desktop. Place that same file in the documents and change the upload path value in the activity, then execute and see if you are getting the same issue
Also make sure the excel file name does not contain any additional spaces. The excel file name and the one which you are giving in the Upload Path field has to be same
When I use the SFTP Activity, it doesn’t recognize the file. Even though its in the same specified location.
Surely then since the error is Upload: No such file… it means that the Upload Activity is erroring being able to access the filepath? Since any other activity is able to access the filepath. And the SFTP connection is working.
See screenshot in next post:
Have you tested to change the Remote Directory Path? Maybe change it to something simple like the root folder "/" (if you have write permission to that folder).