use a file box with the local files in it
for a = 0 to file1.listcount-1
if dir(remotepath+file1.list(a))<> "" then
if filedatetime(remotepath+file1.list(a))<> filedatetime(localpath+file1.list(a)) then
kill remotefile
copythefile
end if
else
copythefile
next a




Reply With Quote