= private = protected
close()
Closes the connection. Further operations are impossible until you open a new connection with #connect.
# File lib/net/ftp.rb, line 811 def close @sock.close if @sock and not @sock.closed? end