When using something like this in Zend:
$upload = new Zend_File_Transfer_Adapter_Http();
$upload->setDestination('/some/directory');
$upload->addValidator(x)
->addValidator(y);
$upload->receive();
Is the uploaded file uploaded first to a tmp directory, validated and then moved to 'some/directory' or is it directly saved into the setDestination directory? If the former, it seems to me that this does the same as "move_uploaded_file" after it's been uploaded to a tmp dir.
Does ZF offer some type of http stream handler to write file to a specific directory natively? i.e something similar to nodejs or django?