worker process keeps control of files after upload

Last post 10-11-2009, 11:29 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  10-09-2009, 10:51 AM 56279

    worker process keeps control of files after upload

    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?


  •  10-11-2009, 11:29 PM 56326 in reply to 56279

    Re: worker process keeps control of files after upload

    Hi,
     
    If you can move a file, the process should not lock the file .
     
    Can you post some code which has that problem ?
     
    Regards,
    Terry
     
View as RSS news feed in XML