In ckfinder classic asp: When I upload an image I get an error about deleting the temp file. So then I have two images.
I think the error is due to file being in use and so can't be deleted.
Not a big problem because I have comments out the delete code that causes the error and I can then delete the temp file anyway. Just that I hate error messages and so do my customers.
Can you look at that when you get a chance?
Cheers,
Michael
I think the error is due to file being in use and so can't be deleted.
Not a big problem because I have comments out the delete code that causes the error and I can then delete the temp file anyway. Just that I hate error messages and so do my customers.
Can you look at that when you get a chance?
Cheers,
Michael
Re: Upload of image in classic ASP - error deleting temp fil
Re: Upload of image in classic ASP - error deleting temp fil
ckfinder\core\connector\asp\Utils\FileSytem.asp lines 107 - 111:
'If (eNumber<>0) Then
' Err.raise vbObjectError + CKFINDER_CONNECTOR_ERROR_CUSTOM_ERROR, "Failed to Delete File", "(Error: " & eNumber & ", " & eDescription & ") File " & filename
' DeleteFile = False
' Exit function
'End if
Re: Upload of image in classic ASP - error deleting temp fil
It's better to find out if there's really an error what's the root instead of hiding it and leave a number of temp files lying around.
Re: Upload of image in classic ASP - error deleting temp fil
I agree but I thought it would be easier for me to just tell people to delete the extra file after uploading rather then people getting in touch to say there was a nasty error message.
Thanks for you help & patience.
Re: Upload of image in classic ASP - error deleting temp fil
The re-sizing is working great now, thanks. The temp files are also being deleted. So I'm all good now on that front.
Thanks for your help, very much appreciated.
Cheers,
Michael
Re: Upload of image in classic ASP - error deleting temp fil
next version will include these fixes