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