= private = protected
voidresp()
Recieves a response.
Raises FTPReplyError if the first position of the response code is not equal 2.
# File lib/net/ftp.rb, line 311 def voidresp # :nodoc: resp = getresp if resp[0] != 22 raise FTPReplyError, resp end end