summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ftplib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb
index 657825424f4..c21d861df18 100644
--- a/lib/ftplib.rb
+++ b/lib/ftplib.rb
@@ -453,7 +453,7 @@ class FTP
if resp[0, 3] != "213"
raise FTPReplyError, resp
end
- return resp[3..-1].strip
+ return resp[3..-1].strip.to_i
end
MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/