welchavw has asked for the wisdom of the Perl Monks concerning the following question:
UPDATE:I am giving up on this - feel free to do that, too
Net::FTP client script is not working. See how the put command appears to work, but the directory listing comes back empty. I feel like I am missing something easy. The FTP server works via ftp commandline client. Thanks. Code snippet is...
Output is...my $remote_file = $ftp->put($name) || die $ftp->message; print "remote_file $remote_file\n" unless $log_level < 3; print "ftp dir listing...", $ftp->dir(), "\n" unless $log_leve +l < 3; print "ftp pwd...", $ftp->pwd(), "\n" unless $log_level < 3;
putting /runtime/images/rear_imgs_to_be_sent/0031061000211897171830451 +00000000000000000.tif as 003106100021189717183045100000000000000000.t +if Net::FTP=GLOB(0x83c71e4)>>> ALLO 984060 Net::FTP=GLOB(0x83c71e4)<<< 200 ALLO command successful. Net::FTP=GLOB(0x83c71e4)>>> PORT 10,255,1,101,194,26 Net::FTP=GLOB(0x83c71e4)<<< 200 PORT command successful. Net::FTP=GLOB(0x83c71e4)>>> STOR 0031061000211897171830451000000000000 +00000.tif Net::FTP=GLOB(0x83c71e4)<<< 150 Opening BINARY mode data connection fo +r 003106100021189717183045100000000000000000.tif. ###################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +##################################################################### +############################################################## Net::FTP=GLOB(0x83c71e4)<<< 226 Transfer complete. remote_file 003106100021189717183045100000000000000000.tif Net::FTP=GLOB(0x83c71e4)>>> PORT 10,255,1,101,219,80 Net::FTP=GLOB(0x83c71e4)<<< 200 PORT command successful. Net::FTP=GLOB(0x83c71e4)>>> LIST Net::FTP=GLOB(0x83c71e4)<<< 150 Opening BINARY mode data connection fo +r /bin/ls. Net::FTP=GLOB(0x83c71e4)<<< 226 Transfer complete. ftp dir listing...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Net::FTP put failing silently?
by Khen1950fx (Canon) on Aug 06, 2008 at 22:09 UTC | |
Re: Net::FTP put failing silently?
by spivey49 (Monk) on Aug 06, 2008 at 20:41 UTC | |
by ikegami (Patriarch) on Aug 06, 2008 at 21:04 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 20:51 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 20:59 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:04 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 21:07 UTC | |
| |
Re: Net::FTP put failing silently?
by starX (Chaplain) on Aug 06, 2008 at 20:38 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 20:47 UTC | |
by starX (Chaplain) on Aug 06, 2008 at 20:53 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 20:57 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:01 UTC | |
by starX (Chaplain) on Aug 06, 2008 at 21:06 UTC | |
Re: Net::FTP put failing silently? (problem src)
by ikegami (Patriarch) on Aug 06, 2008 at 21:09 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:12 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 21:43 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 21:38 UTC | |
Re: Net::FTP put failing silently?
by Perlbotics (Archbishop) on Aug 06, 2008 at 22:35 UTC | |
by broomduster (Priest) on Aug 06, 2008 at 23:45 UTC | |
by Perlbotics (Archbishop) on Aug 07, 2008 at 08:50 UTC | |
Re: Net::FTP put failing silently?
by eosbuddy (Scribe) on Aug 06, 2008 at 22:37 UTC | |
Re: Net::FTP put failing silently? (empty listing perm)
by ikegami (Patriarch) on Aug 06, 2008 at 21:05 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:08 UTC | |
Re: Net::FTP put failing silently? (pwd)
by ikegami (Patriarch) on Aug 06, 2008 at 21:16 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:28 UTC |
Back to
Seekers of Perl Wisdom