diff options
Diffstat (limited to 'lib/net/ftp.rb')
-rw-r--r-- | lib/net/ftp.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2f86edfdd5..bb280139db 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -1446,6 +1446,11 @@ module Net # SSL_shutdonw() will send the "close notify" alert to the peer, # so shutdown(2) should not be called. end + + def send(mesg, flags, dest = nil) + # Ignore flags and dest. + @io.write(mesg) + end end end # :startdoc: |