set_socket(sock, get_greeting = true)
public
Set the socket used to connect to the FTP server.
May raise FTPReplyError if get_greeting is false.
# File lib/net/ftp.rb, line 396
def set_socket(sock, get_greeting = true)
synchronize do
@sock = sock
if get_greeting
voidresp
end
end
end