aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/net/ftp.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index 88361b9ddb..d76cb615f4 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -563,6 +563,15 @@ module Net
def quit
voidcmd("QUIT")
end
+
+ def noop
+ voidcmd("NOOP")
+ end
+
+ def site(arg)
+ cmd = "SITE " + arg
+ voidcmd(cmd)
+ end
def close
@sock.close if @sock and not @sock.closed?