fuel/core — pull request #712 by dlpetrie (2011-12-06 19:04:11+00:00)
Title: adds in ftp upload option in the upload class

Adds in the ability to do ftp uploads with the upload class.

usage:

$config = array(
'path' => 'some/path' // this is the path to upload to
'ftp_mode' => 'auto',
'ftp_permission' => '0777',
// other upload configuration goes here as well
'normalize' => true
);

Upload::process($config);
Upload::with_ftp(); // this tells upload to use ftp - can pass same params you would with Ftp::forge();
if (Upload::is_valid())
{
Upload::save(); // uploads the file to ftp server with the designated config path
}