method

close

ruby latest stable - Class: Net::FTP
close()
public

Closes the connection. Further operations are impossible until you open a new connection with #connect.