method

storbinary

Importance_1
Ruby latest stable (v1_8_7_72) - 0 notes - Class: Net::FTP
storbinary(cmd, file, blocksize, rest_offset = nil) public

Puts the connection into binary (image) mode, issues the given server-side command (such as "STOR myfile"), and sends the contents of the file named file to the server. If the optional block is given, it also passes it the data, in chunks of blocksize characters.

Show source
Register or log in to add new notes.