I have a file submit utility, wherein the users upload files which gets stored in a particular directory say C:abcarunfileuploadfile.txt. On when the user closes the page or moves to another page I want the file to get to another place using an inbuilt function of filesystemobject. The problem is if i use onunload of javascript to trigger my code, then it is showing an error and logically too it doesnt fit in. Is there any alternative ??<BR><BR>Please give suggestions