Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12070

Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ?

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ?
Date 2013-12-02 12:25 -0500
Organization A noiseless patient Spider
Message-ID <l7ifpr$a57$1@dont-email.me> (permalink)
References <78ee20af-31d5-41a2-8494-5f6e5734af0a@googlegroups.com>

Show all headers | View raw


On 12/2/2013 12:21 PM, zhangfj@gmail.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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? zhangfj@gmail.com - 2013-12-02 09:21 -0800
  Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-02 12:25 -0500
    Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? zhangfj@gmail.com - 2013-12-02 18:23 -0800
  Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-02 17:31 +0000
    Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? zhangfj@gmail.com - 2013-12-02 19:10 -0800
      Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? The Natural Philosopher <tnp@invalid.invalid> - 2013-12-03 10:09 +0000
        Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-03 08:15 -0500
        Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? zhangfj@gmail.com - 2013-12-03 18:26 -0800
          Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-03 22:41 -0500
  Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? richard <noreply@example.com> - 2013-12-02 13:19 -0500
    Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? zhangfj@gmail.com - 2013-12-02 18:43 -0800
      Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? richard <noreply@example.com> - 2013-12-03 08:41 -0500
    Re: Can I download file with address like this "http://***.com/file.php/ABC.html" automatically ? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-12-02 22:15 -0800
  Re: Can I download file with address like this "http://***.com/file.php/ABC.html"   automatically ? "J.O. Aho" <user@example.net> - 2013-12-03 07:57 +0100
    Re: Can I download file with address like this "http://***.com/file.php/ABC.html"   automatically ? richard <noreply@example.com> - 2013-12-03 08:50 -0500

csiph-web