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.
Show source
def mdtm(filename)
resp = sendcmd("MDTM #{filename}")
if resp.start_with?("213")
return get_body(resp)
end
end