Manage the uploading of files to an FTP account.
| Public Attributes |
| verbose |
Log uploads to standard output when true.
|
| Public Methods |
| close |
Close the uploader.
|
| connect |
Create an uploader and pass it to the given block as up. When the
block is complete, close the uploader.
|
| makedirs |
Create the directory path in the uploader root path.
|
| new |
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.
|
| upload_files |
Upload all files matching wildcard to the uploader’s root
path.
|
| Private Methods |
| upload |
Upload a single file to the uploader’s root path.
|
<code/>and<pre/>for code samples.