method

set_socket

v2_5_5 - Show latest stable - Class: Net::FTP
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.