YGP has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
can any one help me how to create a user defined site command in Net::ftp,then what are the site commands in Net-ftp?

Replies are listed 'Best First'.
Re: net - ftp
by kirillm (Friar) on Dec 31, 2007 at 11:56 UTC

    Hi YGP,

    You can find out what SITE command your FTP server supports by issuing following FTP command: SITE HELP. My Pure-FTPd server responds with:

    ftp> site help 214-The following SITE commands are recognized ALIAS CHMOD IDLE UTIME 214 Pure-FTPd - http://pureftpd.org/

    -- Kirill

      Thanks!