in reply to Re^2: Net::FTP put failing silently?
in thread Net::FTP put failing silently?

If both passive and active modes are not working in the script, but the command line is, I would suspect a possible proxy. The client might be picking up your proxy settings, but the script isn't.