This is a migrated thread and some comments may be shown as answers.

TemporaryFileExpiration

1 Answer 160 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 26 Jul 2010, 03:28 PM
Are there any circumstances which would cause cacheDependency to forget the temporary files to delete?
Can it survive a machine reboot?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 29 Jul 2010, 03:11 PM
Hello Lenny,

So far we've seen this only when:

  • The server is rebooted unexpectedly. Shutting down the application pool is enough to remove any leftover files.
  • You access the FileStream and don't dispose it.

Current internal builds delete the file immediately after the FileUploaded event has been fired. This way the chances for leaving files is even slimmer.

I hope this helps.

All the best,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
T. Tsonev
Telerik team
Share this question
or