Workato · SFTP connector
SFTP error 2 : no such file
Short answer
"SFTP error 2 : no such file" on the New/updated file in directory trigger means the file was gone or unreadable when Workato tried to download it. Keep files in the monitored directory until they are downloaded and make sure uploads are complete.
VerifiedLast verified
01Error text
SFTP error 2 : no such file02Likely causes
- The server removes files after download.
- The file was corrupted on upload.
- Network instability during polling.
03How to fix it
- Keep files in the monitored directory until Workato has downloaded them.
- Confirm uploads to the directory are complete before the trigger polls.
- Check for network issues between Workato and the server.
04Official documentation
→Related errors
- No such file on the New/updated CSV file in directory triggerWhen the New/updated CSV file in directory trigger keeps failing with "No such file" even after a restart, its cursor points at a file the server deleted or moved. Set Ignore Missing Files? to true.
- closed stream on Upload file to SFTP serverA "closed stream" error on the Upload file to SFTP server action points to an interrupted transfer, often with a small transfer buffer on a large upload. Increase the transfer buffer size in the SFTP connection settings.
- 404 Not FoundA 404 Not Found error in Workato means the external service could not locate the resource your recipe tried to access. Check that the record ID is mapped correctly, belongs to the right object and app, and that the record still exists.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer