Re: ftp_get, ftp_put problem
| From: | Richard Davey | Date: | Fri, 20 Jan 2006 14:19:23 +0000 |
| Subject: | Re: ftp_get, ftp_put problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228939@lists.php.net to get a copy of this message | ||
On 20 Jan 2006, at 13:26, Antonis Varkas wrote:
I am writing a php script to upload/download a file onto/from an FTP Server. I manage to connect to the server, login correctly, change directory, list all the files there but fail to get or put the file. The documentation says that ftp_get and ftp_put return TRUE or FALSE. In my case nothing at all is returned.Do you have access to the FTP server log files? They would show you exactly which stage it died at. My guess would be this is a PASV/port issue. Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services