On 25/05/2004, at 1:21 PM, Jeff Miller wrote:

> What happens when you ftp in manually and try chmod-ing?
>
> jm.
>

The following quick script worked for me. I had to use sendcmd() as I'm 
using 1.6 on my laptop and it doesn't seem to have a site() method.

#!/usr/bin/ruby

require "net/ftp"

f = Net::FTP.new(host,user,pass)
f.passive = true
f.sendcmd('site chmod 644 filename')
f.close()

jm