ftp_put times out

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • excession

    ftp_put times out

    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.

    Any ideas?
    http://eye.cc -php- web design
  • Chris Hope

    #2
    Re: ftp_put times out

    excession wrote:
    [color=blue]
    > 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.[/color]

    Try switching on passive mode and see if that makes a difference:


    --
    Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

    Comment

    Working...