ok i am working off stuff from earlier. I am trying to rename a file i have on line. I am using the FSO code as it was shown to me. However the problem is that this code assumes that you know the file you want to change and an exact name to change to. However both need to be dynamically generate.<BR><BR>here is what i am working off.<BR>Dim objFSO<BR>Set objFSO = Server.CreateObject("Scripting.FileSystemObject")< BR><BR>objFSO.MoveFile Server.MapPath("/someDir/Foo.asp"), _<BR> Server.MapPath("/someDir/Bar.asp")<BR><BR>Set objFSO = Nothing<BR><BR><BR>the second server path needs to be...Server.MapPath("/photos/<%= id_no %>_2.jpg") <BR>this uses their person id no and dynamically adds it to the file. <BR>Now the first server path needs to dynamically pull the name of the file which was just uploaded so it changes the proper file.