Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Net::FTP put failing silently?

by broomduster (Priest)
on Aug 06, 2008 at 23:45 UTC ( #702766=note: print w/replies, xml ) Need Help??

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

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).

Replies are listed 'Best First'.
Re^3: Net::FTP put failing silently?
by Perlbotics (Bishop) on Aug 07, 2008 at 08:50 UTC
    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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2020-02-19 09:56 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (81 votes). Check out past polls.