Re: file retrival
| From: | Anuradha Ratnaweera | Date: | Wed, 27 Dec 2000 12:26:48 +0000 |
| Subject: | Re: file retrival | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31955@lists.php.net to get a copy of this message | ||
On Tue, 26 Dec 2000 PeterOblivion@aol.com wrote:
> Anyone know do to download a file from a remote server and save it in
> a specific path using PHP?
You can handle http and ftp files with PHP's built in facilities. But if
you want to access advanced content such as https, use curl. You can get
it from
http://curl.haxx.se
and compile php with `--with-curl'. For more infomation, see
http://www.php.net/manual/ref.curl.php
Anuradha