Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? [message #184017 is a reply to message #184016] |
Mon, 02 December 2013 17:25 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 12/2/2013 12:21 PM, zhangfj(at)gmail(dot)com wrote:
> Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ?
> I mean not manually.
> I can download the file in these kind address, manually. There is a button in the web page, and the web url change to "http://***.com/down.php" once the button is clicked.
>
> I have no idea about download it through programming.(Thus they may be downloaded automatically.)
> Is that possible ?
>
> Any comment is appreciated. Thanks in advance.
>
You should be able to use cURL to download the file. Not having exact
detail on what's happening, but I would suggest you use Firefox's Live
HTTP Headers to see what's being sent to the server. That might give
you some ideas.
There's also a possibility the site uses javascript to download the
file; this would be harder but you should still be able to determine
what's being sent to the server to download the file.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|