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#sendcmd
sendcmd(cmd)
lib/net/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/ftp.rb, line 505
def sendcmd(cmd)
synchronize do
putline(cmd)
return getresp
end
end
Sends a command and returns the response.