Hi, i've a strange, very strange error. I've a form with a file upload. When
i submit the form with the file it is uploaded and all works fine but i
can't delete it from my computer until i've the browser openend.
"file is opened by another istance. Please..." If i close the browser, i can
delete it from my hard disk... How can i fix this "error"?
It seems that doesn't close very well the upload istance... i don't know...
Code:
$uploadedData = $form->getValues();
$upload = new Zend_File_Transfer_Adapter_Http();
try {
// upload received file(s)
$upload->receive();
} catch (Zend_File_Transfer_Exception $e) {
$e->getMessage();
}
$name = $form->imgopera->getFileName('imgopera');
Thx. Sorry for my bad english, i'm italian...
--
View this message in context:
http://www.nabble.com/Zend_file-upload-%3D%3E-i-can%27t-delete-it-from-hard-disk-tp23749189p23749189.html
Sent from the Zend Framework mailing list archive at Nabble.com.