method
put
v1_8_7_72 -
Show latest stable
- Class:
Net::FTP
put(localfile, remotefile = File.basename(localfile), blocksize = DEFAULT_BLOCKSIZE, &block)public
Transfers localfile to the server in whatever mode the session is set (text or binary). See #puttextfile and #putbinaryfile.