Re: ftp_get, ftp_put problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux