|
Posted by Richard Davey on 01/20/06 16:19
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
Navigation:
[Reply to this message]
|