http://www.perlmonks.org?node_id=702751


in reply to Re: Net::FTP put failing silently? (problem src)
in thread Net::FTP put failing silently?

Yes, indeed. Any clue what could be involved? I have a transfer via Net::FTP that doesn't work while one over simple commandline ftp does work. This is to an NT FTP service. It would violate my expectation if security software were treating one FTP client differently, and I have tried passive on and off.

Replies are listed 'Best First'.
Re^3: Net::FTP put failing silently?
by spivey49 (Monk) on Aug 06, 2008 at 21:43 UTC

    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.

    If that were the case it typically wouldn't make much sense for the put to be working, but not the ls. The proxy should deny both. Of course different proxies have different levels of granularity in their policies. Maybe it's allowing ls, but not dir or applying a "guest" policy to allow puts, but not dir or ls.

Re^3: Net::FTP put failing silently?
by spivey49 (Monk) on Aug 06, 2008 at 21:38 UTC

    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.