From: Peter Bailey Date: 2007-10-23T04:25:42+09:00 Subject: Re: mtime for ftp Eric Hodel wrote: > On Oct 19, 2007, at 10:25 , Peter Bailey wrote: >> puts xmlfile >> puts ftp.mtime(xmlfile) >> end >> ... >> >> I get something like this: >> >> Exception: 500 'MDTM -rw-rw-r-- 1 bna staff 43945 Oct 19 >> 08:50 lobbyreg-20071010-160009.xml': command not understood. >> >> Just doing the "puts xmlfile" works fine, just not the mtime thing. > > I don't think every server supports MDTM. Thanks. I don't even know what MDTM is. It's obviously part of Ruby's ftp, though, isn't it? -- Posted via http://www.ruby-forum.com/.