Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Net::FTP put failing silently?

by Perlbotics (Archbishop)
on Aug 06, 2008 at 22:35 UTC ( [id://702762]=note: print w/replies, xml ) Need Help??


in reply to Net::FTP put failing silently?

Right, you shouldn't give up. I would give Wireshark (formerly Ethereal), snoop, tcpdump and the like a chance to see what is conveyed over the wire. Especially to see what is in the 226 bytes returned from the /bin/ls command. Good luck.

Replies are listed 'Best First'.
Re^2: Net::FTP put failing silently?
by broomduster (Priest) on Aug 06, 2008 at 23:45 UTC
    Just to be clear.... There is no indication that 226 bytes are returned from the /bin/ls command. 226 is the server code for "Transfer Complete" (with no other indication of how many bytes were actually transferred).
      Oops. Have overseen that. Thanks. Nevertheless, having a look on wire will clarify if the problem is below or above the transport layer and on which side it can be solved best.
      Another random idea: The FTP commands are part of a print statement. I don't expect that this is a problem, but maybe ... it is worth to save the $ftp->dir() result in a variable and print it in a separate statement... just to exclude the (unlikely) possibility of some messed up I/O streams... ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702762]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-04-24 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found