help with Server.downloadFile() - why no work?
-
I could use an extra set of eyes on this. I'm probably missing something simple....
I'm running into an issue when I try to use Server.downloadFile() after I've gathered data from various endpoints.
If I download the file before I use the endpoints, everything works as expected, but if I use the endpoints first, the file download fails. I'm thinking something with the http header? But I'm not sure. -
Clear the header before you start the downloads
Server.setHttpHeader("");
I ran into the same issue :)
-