mdtm(filename)
public
Returns the raw last modification time of the (remote) file in the format
“YYYYMMDDhhmmss” (MDTM command).
Use mtime if you want a parsed
Time instance.
# File lib/net/ftp.rb, line 907
def mdtm(filename)
resp = sendcmd("MDTM " + filename)
if resp[0, 3] == "213"
return resp[3 .. -1].strip
end
end