Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") Set objLocalFile = objFSO.GetFile("c:\scripts\test.txt") dtmLocalDate = objLocalFile.DateLastModified Set objServerFile = objFSO.GetFile("\\atl-fs-01\public\test.txt") dtmServerDate = objServerFile.DateLastModified If dtmLocalDate dtmServerDate Then objFSO.CopyFile objServerFile.Path, objLocalFile.Path, OverwriteExisting End If