method
put

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.