I am having trouble with file uploads. The w3wp worker process seems to keep control of files after upload. How do I force it to release those files. I am using CopyTo instead of MoveTo because of the access problem this has generated.
using CopyTo isnt the problem since all temp files are deleted over time but the worker process balooning in size with every subsequent upload can be a real problem for us.
Is there a dispose() function or something similar I should be using?