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


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

Sorry, missed that in the debug output. So if you use a command line client can you see the file as expected? I've seen puts work, but issues with ls commands behind firewalls before.

Replies are listed 'Best First'.
Re^4: Net::FTP put failing silently?
by welchavw (Pilgrim) on Aug 06, 2008 at 17:04 UTC
    You got it - commandline works. I am suspecting firewall, too.

      If I remember correctly the default mode is passive for Net::FTP.As ikegami pointed out you're already using active. Try using active passive. A lot of clients will switch modes silently which is probably why the client is working.

      Update: Change mode to passive. Thanks ikegami.

        The OP is already using active mode ("PORT 10,255,1,101,194,26"), so I think you want him to try passive mode ("PASV").