method

getresp

ruby latest stable - Class: Net::FTP
getresp()
private

Receives a response from the destination host.

Returns the response code or raises FTPTempError, FTPPermError, or FTPProtoError