This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
connect(path, host, account, password)
public
Create an uploader and pass it to the
given block as up. When the block is complete, close the uploader.
# File lib/rake/contrib/ftptools.rb, line 81
def connect(path, host, account, password)
up = self.new(path, host, account, password)
begin
yield(up)
ensure
up.close
end
end