# File lib/net/sftp/protocol/04/base.rb, line 45 def stat(path, flags=nil) send_request(FXP_STAT, :string, path, :long, flags || DEFAULT_FLAGS) end