in reply to found a bug in Net::FTP?

Is there a reason you need to use passive mode? When you tested other clients, did you test them in passive mode?

Replies are listed 'Best First'.
Re^2: found a bug in Net::FTP?
by rgcosma (Beadle) on Sep 30, 2009 at 01:19 UTC
    It was not the cause. Sorry for not being complete, but I really didn't think this had anything to do with it: I was testing first if the file was complete with
    flock($f, LOCK_EX) or return; #file in use
    apparently I must do a flock($f, LOCK_UN); although the transfer was in the same procedure, one line below. I don't understand why..