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#acct
acct(account)
lib/net/ftp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/ftp.rb, line 901
def acct(account)
cmd = "ACCT " + account
voidcmd(cmd)
end
Sends the ACCT command.
This is a less common FTP command, to send account information if the destination host requires it.