You are here: Re: [PHP] ftp_get, ftp_put problem « PHP « IT news, forums, messages
Re: [PHP] ftp_get, ftp_put problem

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация