i don't have problems in my server but in my PC with this upload system



thomasW wrote:
> 
> This is no problem of Zend_File.
> Zend_File only moves/renames the file once, but this does not keep the
> file 
> opened.
> 
> Could be a problem of the webserver, a user class which looks or reads
> file 
> content or a problem with the rights of php at the file system / directory 
> permisions.
> 
> Greetings
> Thomas Weidner, I18N Team Leader, Zend Framework
> http://www.thomasweidner.com
> 
> ----- Original Message ----- 
> From: "denadai2" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, May 27, 2009 9:49 PM
> Subject: [fw-general] Zend_file upload => i can't delete it from hard disk
> 
> 
>>
>> 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. 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_file-upload-%3D%3E-i-can%27t-delete-it-from-hard-disk-tp23749189p23750585.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to