diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
commit | 9c1657f302d0d0e5b8eefa2a70f73bdb57d5fcd6 (patch) | |
tree | ebac1b974c7c9a60b995c57b95e25e4a0ab3ca21 /lib | |
parent | a9662810df18371af7492dd8298cc0cccc13c7c7 (diff) |
cygwin patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@83 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftplib.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb index a8edac8123..ab93f64545 100644 --- a/lib/ftplib.rb +++ b/lib/ftplib.rb @@ -551,6 +551,13 @@ class FTP resp end + def mdtm(filename) + resp = sendcmd("MDTM " + filename) + if resp[0, 3] == "213" + return resp[3 .. -1].strip + end + end + def help(arg = nil) cmd = "HELP" if arg |