```ruby
require "net/ftp"

Net::FTP.default_passive = false
```

Check whether Net::FTP.default_passive is defined.
user
```ruby
require "net/ftp"

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