note 60219 added to faq.using
| From: | alex at tns dot ch | Date: | Fri, 30 Dec 2005 08:12:46 +0000 |
| Subject: | note 60219 added to faq.using | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100974@lists.php.net to get a copy of this message | ||
I am having trouble using the PHP FTP GET and PUT functions between client and server (I need to
regularly update files on my website via PHP).
I followed some examples and managed to get listings of files on my server but when I tried to GET a
file from the server down to my client the file did not arrive even though the GET function's
result status indicated success.
I added some code to dump the file immediately after the test for a successful GET and the file
contents were displayed but searching with windows explorer did not reveal the file!
My local system device is J: and I am telling the GET PHP function to place the file in the root of
J:
What am I doing wrong?
As PHP is server based does a GET mean a GET from the server's viewpoint or, as I have assumed,
from the client's viewpoint?
Thanks for any help,
Alex
----
Manual Page -- http://www.php.net/manual/en/faq.using.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60219
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60219&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60219&report=yes
Search -- http://master.php.net/manage/user-notes.php