= private = protected
parse257(resp)
handler for response code 257 (“PATHNAME” created)
Returns host and port.
# File lib/net/ftp.rb, line 1397 def parse257(resp) # :nodoc: if !resp.start_with?("257") raise FTPReplyError, resp end return resp.slice(/"(([^"]|"")*)"/, 1).to_s.gsub(/""/, '"') end