Topic Options
#55497 - 11/21/17 04:17 PM HTTP Server Return ZIP file and retain filename
Uomo Del Ghiaccio Offline
OL Expert

Registered: 02/21/01
Posts: 666
I'm trying to return a zip file when a web browser connects to PlanetPress Watch v7.

Quote:
http://server:8080/Info?sID=0724559d-029b-422e


I scrape 0724559d-029b-422e from the xml and collect the file. It returns the file, but the file name is Info.htm instead of 0724559d-029b-422e.zip as desired.
_________________________
Uomo Del Ghiaccio
--------------------

Top
#55498 - 11/21/17 05:04 PM Re: HTTP Server Return ZIP file and retain filename [Re: Uomo Del Ghiaccio]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 479
Loc: Québec, Canada
Use the Rename plugin to rename the file as you wish just before the end of your process.

Top
#55499 - 11/21/17 05:27 PM Re: HTTP Server Return ZIP file and retain filename [Re: Uomo Del Ghiaccio]
Uomo Del Ghiaccio Offline
OL Expert

Registered: 02/21/01
Posts: 666
I have a rename, but it was saving as Info.htm. I started getting Info.zip, but not sure why.
_________________________
Uomo Del Ghiaccio
--------------------

Top
#55500 - 11/21/17 05:29 PM Re: HTTP Server Return ZIP file and retain filename [Re: Uomo Del Ghiaccio]
Uomo Del Ghiaccio Offline
OL Expert

Registered: 02/21/01
Posts: 666
Info.zip is not as bad as Info.html. Would prefer the request number i.e. 0724559d-029b-422e.zip
_________________________
Uomo Del Ghiaccio
--------------------

Top
#55501 - 11/21/17 05:33 PM Re: HTTP Server Return ZIP file and retain filename [Re: Uomo Del Ghiaccio]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 479
Loc: Québec, Canada
Most likely a logic error in your setup. Please open a technical call at 1-866-348-5863 or throught our website, so we can look at your settings.

Top