method

gettextfile

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

Retrieves remotefile in ASCII (text) mode, storing the result in localfile. If a block is supplied, it is passed the retrieved data one line at a time.

Show source
Register or log in to add new notes.