--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns an Net::SFTP::Operations::FileFactory instance, which can be used to mimic synchronous, IO-like file operations on a remote file via SFTP.
- !ruby/struct:SM::Flow::VERB 
  body: "  sftp.file.open(&quot;/path/to/file&quot;) do |file|\n    while line = file.gets\n      puts line\n    end\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: See Net::SFTP::Operations::FileFactory and Net::SFTP::Operations::File for more details.
full_name: Net::SFTP::Session#file
is_singleton: false
name: file
params: ()
visibility: public
