โ09-17-2021 12:10 PM
I have created a pipeline and a trigger task (file writer) in the same project. But when I am trying to send the zip file using file writer / zip file writer snap in that api using REST PUT It is reflecting in manager and when I download it , itโs get downloaded successfully but while trying to open the file it is giving me the below error,I have pasted error while reading the zip file using zip file read but when i use file read using the same file it doesnโt give me any error:
Is not archive
Invalid zip file./The compressed zip file is invalid.
โ09-17-2021 12:50 PM
Hi @deepanshu.1,
Not sure how youโre sending the file, but if you are not sending from SLDB, you need more tinkering to do, because you need to send the metadata along the actual file. But if youโre sending from SLDB, it is simple, just make sure you take the path from the File Writer, and pass it to the โUpload fileโ field of the Rest PUT snap.
Regards,
Bojan
โ09-17-2021 01:21 PM
Thanks Bojan. Iโll try with this method as well.