file downloading in wrong name and format.
file downloading in wrong name and format.
i've been getting files that download in wrong name and format every time when i find them on a site with a download button. in php.
the file downloads as go to.php or getfile.php or getphp.asp
the file is the right file if you change the name to what it is to be it will unzip and or install.
i told the developer of one such site this was going on, and he told me to tell the developers of my download manager this following code information should make the download manager work as it should.
i don't know where to put that but maybe you guys do.
thanks. rovingcowboy.
the file downloads as go to.php or getfile.php or getphp.asp
the file is the right file if you change the name to what it is to be it will unzip and or install.
i told the developer of one such site this was going on, and he told me to tell the developers of my download manager this following code information should make the download manager work as it should.
Code: Select all
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0, false
Pragma: no-cache
Content-Type: application/pdf
content-disposition: attachment; filename ="Filename.pdf"
Content-Transfer-Encoding: binary
i don't know where to put that but maybe you guys do.
thanks. rovingcowboy.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest