in reply to ftp put problem!

runrig has answered everything you wanted to know about ftp but were afraid to ask ;-). I'll try to answer the last detail:

I'm pretty sure that there is no method named '!ls'. I would bet though that there is a method named 'lls', short for 'local ls'.

UPDATE: Checked Net::FTP and there is no lls. With "manual" you probably meant a manual page of ftp and not the manual page of Net::FTP. That is not the same.

UPDATE OF THE UPDATE: ++Fletch for the I-should-have-known-but-did-not explanation

Replies are listed 'Best First'.
Re^2: ftp put problem!
by Fletch (Bishop) on Jul 29, 2008 at 20:37 UTC

    More likely he's confused Net::FTP with the manual for the command line ftp client which like many *NIX utilities supports running shell commands by prefixing them with a !.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.