Solaris 10, connecting to a Solaris 8 remote host.
I’ve got a code snippet like the one below. It connects fine, performs
chdir fine, performs the nlst fine, but chokes on mtime:
FTP.open(host, user, password) do |ftp|
puts file # prints “audit17717447” fine
puts ftp.mtime(file, true) # Boom! See below
getresp': 500 'MDTM audit17717447': command not understood. (Net::FTPPermError) from /opt/csw/lib/ruby/1.8/net/ftp.rb:264:insendcmd’
synchronize' from /opt/csw/lib/ruby/1.8/net/ftp.rb:262:insendcmd’
mdtm' from /opt/csw/lib/ruby/1.8/net/ftp.rb:699:inmtime’
Am I doing something wrong here? I don’t see anything like ‘MDTM’
my ftp man page. Or is it time to parse the long file name format
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.