= private = protected
putline(line)
Ensures that line has a control return / line feed (CRLF) and writes it to the socket.
# File lib/net/ftp.rb, line 252 def putline(line) # :nodoc: if @debug_mode print "put: ", sanitize(line), "\n" end line = line + CRLF @sock.write(line) end