note 110474 deleted from function.ftp-put by aharvey

From: Date: Fri, 26 Oct 2012 01:31:07 +0000
Subject: note 110474 deleted from function.ftp-put by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191549@lists.php.net to get a copy of this message
Note Submitter: steve7642 at gmail dot com ---- 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..

« previous php.notes (#191549) next »