>>Bugs>>
[Fixed in 1.2.24 and 1.1.29] Error on deleting file
|
|
|
|
Author
|
[Fixed in 1.2.24 and 1.1.29] Error on deleting file
|
guest
Total Posts:
 |
Error on deleting file
8/14/2007 8:49:23 AM
Hi Dean,
I copy the uploaded file to a folder as following: myFile.MoveTo(myPath, MoveToOptions.Overwrite) In web.config I set the temporary directory different than the one of "myPath".
Then I need to delete it so I do: File.Delete(myPath) but I got a "Could not find file" error message.
It looks like neatUpload is trying to delete the file after I deleted already. But if I don't do File.Delete(myPath), the file still there!
Thanks, Cristian
|
|
Dean Brettle
Total Posts:
2015
 |
Re: [Fixed in 1.2.24 and 1.1.29] Error on deleting file
8/14/2007 3:07:02 PM
|
guest
Total Posts:
 |
Re: [Fixed in 1.2.24 and 1.1.29] Error on deleting file
8/14/2007 6:55:20 PM
Good! I hope this was the same reason why I had a similar error "cannot delete the file because is used by another application".
I'm going to download the new release and let you know.
Thanks!
|
|
guest
Total Posts:
 |
Re: [Fixed in 1.2.24 and 1.1.29] Error on deleting file
8/14/2007 8:59:56 PM
All working fine now :)
Thanks!!! |
|