I’m transfering a zip file using the FTP OUTPUT process but the file keeps getting corrupted once it reachs the FTP site. I’ve read google and found this below. Does anyone know how I can transfer the file as a “Binary transfer type”
"This is typically caused by uploading files through FTP as ASCII file transfer type. The “ ASCII transfer type” will transfer the files as regular text files. The “Binary transfer type” will transfer the data in binary mode which handles the files as binary data instead of text data. Setting your FTP client to Binary will prevent your files from becoming corrupted through ftp transit."
Thanks Andy
The FTP Output plugin is using the binary mode for transferring data.
Maybe the FTP server involved is ignoring that.
Would it work if using an external FTP client?
Also you could enable “Log all Winsock and network messages” in the Workflow preferences of FTP Output to find out more about the issue.
Hi, we have just started using CONNECT to transfer files the old system was using WINSCP which has always worked fine, within the script that WINSCP uses it specify’s to force Binary transfer
I’ve enabled “Log all Winsock and network messages” and this doesn’t contain much more detail other than showing connection details, IP address etc
Thanks Andy
I’ve tested myself with uploading a zip file to a ftp server using the FTP Output plugin, then downloaded the file, and got a valid zip back, no issues to open and unpack it.
So basically there are no issues to transfer binary files.
Seems it’s an issue especially with your ftp server, maybe it needs a bit more options to be set than the plugin is providing.