note 110474 added to function.ftp-put
| From: | steve7642 at gmail dot com | Date: | Thu, 25 Oct 2012 16:39:19 +0000 |
| Subject: | note 110474 added to function.ftp-put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191545@lists.php.net to get a copy of this message | ||
For me, the main obstacle in using fput is getting the remote file path correct.
None of the posts I read explained how. I get success with the following process:
Use the same connection parameter as your ftp client, then from your ftp client, backup to the
highest directory you can see. Typically this will be: /public_html or / ( a single slash)
Then the file name going to the root of the remote server will be:
public_html/myfile.txt
or simply myFile.txt
and so on..
----
Server IP: 69.147.83.199
Probable Submitter: 70.160.28.249
----
Manual Page -- http://www.php.net/manual/en/function.ftp-put.php
Edit -- https://master.php.net/note/edit/110474
Del: integrated -- https://master.php.net/note/delete/110474/integrated
Del: useless -- https://master.php.net/note/delete/110474/useless
Del: bad code -- https://master.php.net/note/delete/110474/bad+code
Del: spam -- https://master.php.net/note/delete/110474/spam
Del: non-english -- https://master.php.net/note/delete/110474/non-english
Del: in docs -- https://master.php.net/note/delete/110474/in+docs
Del: other reasons-- https://master.php.net/note/delete/110474
Reject -- https://master.php.net/note/reject/110474
Search -- https://master.php.net/manage/user-notes.php