# File lib/rake/contrib/ftptools.rb, line 81
81:       def connect(path, host, account, password)
82:         up = self.new(path, host, account, password)
83:         begin
84:           yield(up)
85:         ensure
86:           up.close
87:         end
88:       end