in reply to Net::FTP Timeout problem from Windows NT machine...

"Timeout at /usr/lib/perl5/5.8.5/Net/FTP.pm line 503"

That's a very unusual perl location and architecture for a Windows machine. Still .... nothing wrong with that, I guess.

Which version of Net::FTP ? ( perl -MNet::FTP -e "print $Net::FTP::VERSION" ) And what does line 503 contain ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Net::FTP Timeout problem from Windows NT machine...
by roboticus (Chancellor) on Aug 20, 2007 at 23:11 UTC
    syphilis:

    The cygwin installation (which is what I use) provides a file system similar to Unix. In fact, my Net::FTP is at /usr/lib/perl5/5.8/Net/FTP.pm. Sounds like I need to upgrade my perl....

    ...roboticus

      Aaah, yes ... the op didn't say he was running a native Windows build of perl ... that was just me assuming something I shouldn't have :-)

      Cheers,
      Rob
Re^2: Net::FTP Timeout problem from Windows NT machine...
by bulent_sahin (Initiate) on Aug 27, 2007 at 21:42 UTC
    Hi Rob,
    first of all, sorry for my late reply and thanks for your quick reply.
    at the end, here is the my answers;
    my versin of Net::FTP is 2.75 which is result for (  perl -MNet::FTP -e "print $Net::FTP::VERSION")
    and I am sorry to put wrong error line, actually I copied my code to the another Linux box and tried there. But I got still same or above Timeout message above.
    finally, The correct error message in the Windows machine is;  Timeout at D:/perl/lib/Net/FTP.pm line 503 and the line 503 is  last unless $len = $data->read($buf,$blksize); ok. I think, I answwered all questions... How can I proceed to solve this issue ? Thank you very much for your quick reply and answers... Bulent Sahin.