in reply to Having a problem with Net::FTP, I think...

If you comment out the chmod'ing does it work? I'm wondering if it's getting stuck there and you're just not seeing the 'uploaded successfully' message because of buffering -- try $|=1; at the top of your script..

Replies are listed 'Best First'.
Re^2: Having a problem with Net::FTP, I think...
by pg (Canon) on Sep 05, 2005 at 19:50 UTC

    Don't think buffering is the issue here, as he has a "\n" at the end of the print line. It should be flushed right the way, if it ever reaches here.

Re^2: Having a problem with Net::FTP, I think...
by Spidy (Chaplain) on Sep 06, 2005 at 00:40 UTC
    Even with the chmod'ing commented out, the same thing happens. with $| = 1; at the top, it still stalls.