Method: Net::FTP#voidcmd
- Defined in:
- lib/extensions/net-http/net/ftp.rb
#voidcmd(cmd) ⇒ Object
Sends a command and expect a response beginning with ‘2’.
301 302 303 304 305 306 |
# File 'lib/extensions/net-http/net/ftp.rb', line 301 def voidcmd(cmd) synchronize do putline(cmd) voidresp end end |