note 6657 modified in function.ftp-get by zak
| From: | zak@php.net | Date: | Tue, 13 Nov 2001 14:09:12 +0000 |
| Subject: | note 6657 modified in function.ftp-get by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20794@lists.php.net to get a copy of this message | ||
When you use ftp_get(0 to download a file, it will be downloaded to the server that is running the
PHP script.
If a relative path for local_file is specified, then the path specified will be local to the current
working directory of the PHP script that called ftp_get().
--was--
ftp_get will download the file, but since PHP is server-side, it will consider the server as the
remote host. Therefore, the remote file will be found in the same directory as the php file
executing ftp_get
http://www.php.net/manual/en/function.ftp-get.php