Class Rake::FtpUploader
In: lib/rake/contrib/ftptools.rb
Parent: Object

Manage the uploading of files to an FTP account.

Methods

close   connect   makedirs   new   upload_files  

Attributes

verbose  [RW]  Log uploads to standard output when true.

Public Class methods

Create an uploader and pass it to the given block as up. When the block is complete, close the uploader.

Create an FTP uploader targetting the directory path on host using the given account and password. path will be the root path of the uploader.

Public Instance methods

Close the uploader.

Create the directory path in the uploader root path.

Upload all files matching wildcard to the uploader‘s root path.

[Validate]