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.
Show source
def set_socket(sock, get_greeting = true)
synchronize do
@sock = sock
if get_greeting
voidresp
end
end
end