Hi,

I recently needed to be able to 'chmod' a file after 
transferring it, and found that Net::FTP does not offer 
the option to use SITE commands, among others.

Fortunately, I was able to add it easily enough:

require 'net/ftp'
module Net
  class FTP
    def site(sitecmd)
      cmd = 'SITE ' + sitecmd
      voidcmd(cmd)
    end
  end
end

...

ftp.site('chmod 755 somefile.cgi')

I request this functionality be added to the distribution.
I also request the other missing commands to be added,
such as HELP, NOOP, ABORT, etc. 


Guy N. Hurst

-- 
HurstLinks Web Development    http://www.hurstlinks.com/
Norfolk, VA  23510            (757)623-9688 FAX 623-0433
PHP/MySQL - Ruby/Perl - HTML/Javascript