I have a folder on my site that I allow users to upload files to. I monitor this folder with perl and want to rename the file once it is uploaded. It's easy enought to rename a file with perl, but once perl sees a new file in this folder it renames it before the upload is complete and this cancels the upload. I am using a windows 2000 system, and DOS rename will not allow until upload is complete. How do I get perl to behave the same way?