Hi !<BR><BR>I tried to use this function to copy file from user PC to another server. Sometimes it can work and sometimes it can&#039t.<BR><BR>Anyone got a better solution on how to achieve this OR any bugs with the function below ?<BR><BR>Thanks !<BR><BR><BR><BR>&#039**************************** *************************************<BR>&#039Name : CopyFile<BR>&#039Purpose : Copy file from source to destination<BR>&#039Input: StrFileSource - path to file you want to copy<BR>&#039 StrFileDestination - path that file destination<BR>&#039Output: StrError - Error Message<BR>&#039Author : Ian Stallings<BR>&#039Date : 09/27/00<BR>&#039*************************************** **************************<BR><BR>FUNCTION CopyFile(strFileSource, strFileDestination, strError)<BR> if strFileSource = "" OR strFileDestination = "" then<BR> strError = "Error - You must supply both a source and a destination"<BR> exit function<BR> end if<BR> <BR> set fso = Server.CreateObject("Scripting.FileSystemObject")< BR> if Not fso.FileExists(strFileSource) then<BR> strError = "Error - Source file does not exist"<BR> exit function<BR> end if<BR> <BR> <BR> if strError = "" then<BR> Set f2 = fso.GetFile(strFileSource)<BR> f2.Copy(strFileDestination)<BR> Set f2 = nothing<BR> end if<BR> <BR> Set fso = nothing<BR>END FUNCTION