note 39293 added to function.ftp-get
| From: | corey-holzer at nyc dot rr dot com | Date: | Fri, 23 Jan 2004 11:20:59 +0000 |
| Subject: | note 39293 added to function.ftp-get | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64061@lists.php.net to get a copy of this message | ||
The zero size file is not a side effect. When the ftp_get starts the first thing it does is to
create the inode/file which it will stream the data too and that is a zero size file with the nname
you specified for the local file. When the download fails it leaves the file in place.
----
Manual Page -- http://www.php.net/manual/en/function.ftp-get.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39293
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39293&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39293&report=yes
Search -- http://master.php.net/manage/user-notes.php