Module: FTP

Defined in:
lib/ftp.rb

Overview

Created by me on 2007-12-28.

Copyright (c) 2007. All pwnage reserved.

Class Method Summary collapse

Class Method Details

.cleanObject


19
20
# File 'lib/ftp.rb', line 19

def clean
end

.fetchObject


15
16
17
# File 'lib/ftp.rb', line 15

def fetch
  Net::FTP.open(@opts[:in]) {|ftp| ftp.getbinaryfile(@opts[:in], @opts[:out]) }
end

.prepObject


12
13
# File 'lib/ftp.rb', line 12

def prep
end

.setup(opts, uri) ⇒ Object


8
9
10
# File 'lib/ftp.rb', line 8

def setup(opts, uri)
  @opts = opts
end