require "net/ftp"

Net::FTP.default_passive = false

require "net/ftp"

if defined?(Net::FTP.default_passive)
  Net::FTP.default_passive = false
end

Check whether Net::FTP.default_passive is defined.
Check whether Net::FTP.default_passive is defined.
