I need to receive a zip file by FTP. The file is submitted to TN and i am trying to retrieve the file and write the file to my local file system.
I am using wm.tn.doc:getContentPartData to retrieve the data and write to file system.
The file is ftped as a flat file with content type as application;x-wmflatfile
I get an error saying the file is getting corrupted and am unable to open the zip file.
The winzip error is “start of central directory not found, zip file corrupt, possible cause file transfer error”.