Hi, I try to use native method moveTo(). My version Phalcon last build 1.2.0 method moveTo() dont upload files.
foreach ($this->request->getUploadedFiles() as $key => $file) {
$name = sha1($file->getName()[$key]) . '.' . pathinfo($file->getName()[$key], PATHINFO_EXTENSION);
$destination = $uploadDir.DIRECTORY_SEPARATOR.$name;
//this not work
//$file->moveTo($destination);
// this work correctly
move_uploaded_file($file->getTempName()[$key], $destination);
}