Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12071
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| 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 17:31 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <l7ig66$7ms$2@dont-email.me> (permalink) |
| References | <78ee20af-31d5-41a2-8494-5f6e5734af0a@googlegroups.com> |
On Mon, 02 Dec 2013 09:21:12 -0800, zhangfj 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. As you asked the question in a php newsgroup, I assume you wish to use php code to retrieve The term you need to google may be "php curl". However, as a simpler interface, if the php configuration allows it, you can also use a url as a filename to open a file. What you then do with the data you receive by reading from the file handle is up to you. This of course assumes that you know the url that you want to retrieve. If you're not using php to do the automatic download, you're asking in the wrong place. How "automatic" do you wish it to be? If you want it to happen every minute / hour / day / week etc you may wish to look up the scheduling mechanism on your system (usually cron on a linux/unix etc box, but I have no idea what you're actually using). -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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