note 107272 added to function.ftp-get
| From: | BenParish | Date: | Thu, 26 Jan 2012 13:14:40 +0000 |
| Subject: | note 107272 added to function.ftp-get | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185753@lists.php.net to get a copy of this message | ||
On Windows (and possibly *NIX) you will get "[function.ftp-get]: failed to open stream: No such
file or directory in..." errors if the local_file path contains directory paths that do not
already exist.
Even with write permissions ftp_get can create the file but it will NOT automatically create the
parent directories as you might expect.
----
Server IP: 87.124.126.127
Probable Submitter: 83.244.242.194 (proxied: 83.244.242.194)
----
Manual Page -- http://www.php.net/manual/en/function.ftp-get.php
Edit -- https://master.php.net/note/edit/107272
Del: integrated -- https://master.php.net/note/delete/107272/integrated
Del: useless -- https://master.php.net/note/delete/107272/useless
Del: bad code -- https://master.php.net/note/delete/107272/bad+code
Del: spam -- https://master.php.net/note/delete/107272/spam
Del: non-english -- https://master.php.net/note/delete/107272/non-english
Del: in docs -- https://master.php.net/note/delete/107272/in+docs
Del: other reasons-- https://master.php.net/note/delete/107272
Reject -- https://master.php.net/note/reject/107272
Search -- https://master.php.net/manage/user-notes.php