Posted by Chris Hope on 08/14/05 13:01
excession wrote:
> I've got a script which uploads a few files to a remote server. The
> problem is the ftp_put command hands and the script eventually times
> out. What is even more strange is sometime it works fine.
>
> When it's not working i've check the connectiion and done a manual
> upload with a proprietry ftp program and all is fine.
Try switching on passive mode and see if that makes a difference:
http://www.php.net/ftp_pasv
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
Navigation:
[Reply to this message]
|