Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
new(path, host, account, password)
public
Create an FTP uploader targeting the
directory path on host using the given account and
password. path will be the root path of the uploader.
# File lib/rake/contrib/ftptools.rb, line 94
def initialize(path, host, account, password)
@created = Hash.new
@path = path
@ftp = Net::FTP.new(host, account, password)
makedirs(@path)
@ftp.chdir(@path)
end