Method: Net::FTP#status

Defined in:
lib/extensions/net-http/net/ftp.rb

#statusObject

Returns the status (STAT command).



811
812
813
814
815
816
# File 'lib/extensions/net-http/net/ftp.rb', line 811

def status
  line = "STAT" + CRLF
  print "put: STAT\n" if @debug_mode
  @sock.send(line, Socket::MSG_OOB)
  return getresp
end