End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::FTP#voidcmd
voidcmd(cmd)
lib/net/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/ftp.rb, line 515
def voidcmd(cmd)
synchronize do
putline(cmd)
voidresp
end
end
Sends a command and expect a response beginning with ‘2’.