method

putbinaryfile

Importance_1
Ruby latest stable (v1_8_7_72) - 0 notes - Class: Net::FTP
putbinaryfile(localfile, remotefile = File.basename(localfile), blocksize = DEFAULT_BLOCKSIZE) public

Transfers localfile to the server in binary mode, storing the result in remotefile. If a block is supplied, calls it, passing in the transmitted data in blocksize chunks.

Show source
Register or log in to add new notes.