Workato · SFTP connector
closed stream on Upload file to SFTP server
Short answer
A "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.
VerifiedLast verified
01Error text
closed stream02Likely causes
- Intermittent network connectivity.
- A small transfer buffer.
- Large uploads with insufficient logs to diagnose.
03How to fix it
- Increase the transfer buffer size in the SFTP connection settings. The default and minimum are 32768 bytes (32 KB) and the maximum is 327680 bytes (320 KB).
- Verify the server is stable during large transfers.
- Rerun the job.
04Official documentation
→Related errors
- SFTP error 2 : no such file"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.
- password must not be longer than 1024 bytesThis SFTP connection error means the Private key passphrase field holds more than 1024 characters, often because it auto-filled with the private key itself. Create a new connection and leave the passphrase blank or type it in manually.
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