method
retrbinary
v2_6_3 -
Show latest stable
- Class:
Net::FTP
retrbinary(cmd, blocksize, rest_offset = nil)public
Puts the connection into binary (image) mode, issues the given command, and fetches the data returned, passing it to the associated block in chunks of blocksize characters. Note that cmd is a server command (such as “RETR myfile”).