Has anyone had any issues downloading zip files using the normal node.js request packages (node-fetch, axios etc.) ?
I have a node script that has a part to download a zip file. It works in local env and independent of the switch ecosystem but when I move it into a script file the download is always corrupt. I dont have the same problem with .pdfs that come from the same endpoint though.
Problems Downloading Zip Files
Re: Problems Downloading Zip Files
There is not much to go by and although the fact that it works for PDF files and not for ZIP files pleads against it, but the first thing that jumps to mind is this: viewtopic.php?f=26&t=3959
-
- Newbie
- Posts: 12
- Joined: Mon Jan 25, 2021 8:24 pm
Re: Problems Downloading Zip Files
Ended up being the way the Zip file was created on our servers. Switch is on a windows VM and my dev env is a MAC. The windows issue made me think it was a switch problem.
Thanks for the input!
Thanks for the input!