method

get

ruby latest stable - Class: Net::FTP
get(remotefile, localfile = File.basename(remotefile), blocksize = DEFAULT_BLOCKSIZE)
public

Retrieves remotefile in whatever mode the session is set (text or binary). See #gettextfile and #getbinaryfile.