note 82459 added to function.ftp-put
| From: | mikelevites at yahoo dot com | Date: | Fri, 11 Apr 2008 17:37:59 +0000 |
| Subject: | note 82459 added to function.ftp-put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138189@lists.php.net to get a copy of this message | ||
I'm pretty sure this is a permission error but I tried to execute this from the FTP command
line using the PUT function to move the sam file and it works just fine.
Message -
Connected to www.XXXX.in, for user XXXXXXXX
$destination_file = team.csv
$source_file = c:\team.csv
Warning: ftp_put(c:\team.csv) [function.ftp-put]: failed to open stream: No such file or directory
in /home/XXXX/mike.php on line 45 - FTP upload has failed!
How does the unix directory get defined?
----
Server IP: 208.69.120.35
Probable Submitter: 12.154.100.33
----
Manual Page -- http://www.php.net/manual/en/function.ftp-put.php
Edit -- https://master.php.net/note/edit/82459
Del: integrated -- https://master.php.net/note/delete/82459/integrated
Del: useless -- https://master.php.net/note/delete/82459/useless
Del: bad code -- https://master.php.net/note/delete/82459/bad+code
Del: spam -- https://master.php.net/note/delete/82459/spam
Del: non-english -- https://master.php.net/note/delete/82459/non-english
Del: in docs -- https://master.php.net/note/delete/82459/in+docs
Del: other reasons-- https://master.php.net/note/delete/82459
Reject -- https://master.php.net/note/reject/82459
Search -- https://master.php.net/manage/user-notes.php