Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? [message #184026 is a reply to message #184017] |
Tue, 03 December 2013 02:23 |
zhangfj
Messages: 5 Registered: December 2013
Karma:
|
Junior Member |
|
|
在 2013年12月3日星期二UTC+8上午1时25分15秒,Jerry Stuckle写道:
> 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
>
> ==================
Thank you. Your reply is the nearest to my objective.
And thanks to other replies.
|
|
|