D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Net
/
FTP
/
Filename :
gettextfile-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: line comment: - !ruby/struct:SM::Flow::P body: Retrieves <tt>remotefile</tt> in ASCII (text) mode, storing the result in <tt>localfile</tt>. If a block is supplied, it is passed the retrieved data one line at a time. full_name: Net::FTP#gettextfile is_singleton: false name: gettextfile params: (remotefile, localfile = File.basename(remotefile)) {|line| ...} visibility: public