[eluser]Anthony Hull[/eluser]
Ok, I think I got it working. Here is the code I used:
Code:
if(!$this->ftp->mirror($local_path, $remote_path))
{
$this->ftp->mkdir($remote_path);
$this->ftp->mirror($local_path, $remote_path);
$this->ftp->mirror('/home/rmrs/public_html/members/uploader/tmp/'.$randstring.'/', $remote_path); //upload config file
}
else
{
$this->ftp->mirror($local_path, $remote_path);
$this->ftp->mirror('/home/rmrs/public_html/members/uploader/tmp/'.$randstring.'/', $remote_path); //upload config file
}