Problem
When using the ZappySys SSIS SFTP Task in ZappySys SSIS PowerPack, you may encounter the following error during file upload:
Warning: 0x0 at ZS Secure FTP Task (SFTP, FTP, FTPS):
ERROR=>FileTransferClient(1)[6] Info: System.InvalidOperationException: Not enough data.
en snrm.kchv()
en snrm.kchx()
en Rebex.Net.SftpAttributes…ctor(snrm ava, Int32 avb)
en kuxn…ctor(Byte [ ] azp, Int32 azq, Int32 azr, Encoding azs, Int32 azt)
en kuwh.vidq(snro& aru)
en kuwh.vidn(UInt32 arp, Boolean arq)
en kuwh.vidm(snro arm, UInt32 arn, kuvq aro)
en kuwh.vics(String aph, Boolean api, Boolean apj, Boolean apk, kuwi apl, kuwn& apm, kuvq apn)
en Rebex.Net.Sftp.nqzv(String uf, Boolean ug, Boolean uh, Boolean ui, kuvq uj)
Error: 0xC002F304 at ZS Secure FTP Task (SFTP, FTP, FTPS): An error occurred with the following error message: “UploadFile failed. Not enough data.”.
Cause
The “Not enough data” error typically occurs due to incompatibility with SFTP v4. Some SFTP servers do not fully support the SFTP v4 protocol, leading to incomplete or failed file transfers.
Solution
Disable SFTP v4 in the ZappySys SFTP Task to force the task to use a lower version (e.g., SFTP v3), which is more widely supported.
- Go to SFTP Connection Settings.
- In the connection settings window, navigate to the SFTP Settings Tab.
- Locate the option Disable SFTP v4 and disable it.
Conclusion
Disabling SFTP v4 in the SFTP Settings Tab of the ZappySys SSIS SFTP Task ensures compatibility with servers that do not fully support v4, preventing the “Not enough data” error. For further assistance, please contact our support team via chat on our website.