# File lib/rake/contrib/ftptools.rb, line 93
 93:       def connect(path, host, account, password)
 94:         up = self.new(path, host, account, password)
 95:         begin
 96:           yield(up)
 97:         ensure
 98:           up.close
 99:         end
100:       end