Hello All,
I have scheduled task which runs at 12:00AM every night.
Basically it compares our client data on our website with the data on our local server.
I have it to only download changed and new files.
The problem i have is that if a file exists, it asks me" This file exists, do you want to overwrite it" which i do since it has changed but i dont know how to do this and i have searched in help and in the forums.
The script i use is below:
#log the script
log verbose append:"C:\xampp\_data\client_data\%date%-XML.log"
#set the comparison criteria
criteria timestamp size
#load source and target
load create:right "ftp://username
[email protected]/_data" "C:\xampp\_data\client_data\%date%"
#filter to only include source files, ignore CVS subfolders
#filter "*.htm;*.html;*.php;*.jpg;*.gif;-CVS\"
#
#NO FILTERS APPLIED - SYNC ALL FILES
#
#Sync the files from Swebsite.com/_data to localserver.
sync create-empty mirror:lt->rt
So can this be done to add overwrite command so that i dont have to say Yes To All every day.

Cheers
Helio
I have scheduled task which runs at 12:00AM every night.
Basically it compares our client data on our website with the data on our local server.
I have it to only download changed and new files.
The problem i have is that if a file exists, it asks me" This file exists, do you want to overwrite it" which i do since it has changed but i dont know how to do this and i have searched in help and in the forums.
The script i use is below:
#log the script
log verbose append:"C:\xampp\_data\client_data\%date%-XML.log"
#set the comparison criteria
criteria timestamp size
#load source and target
load create:right "ftp://username

#filter to only include source files, ignore CVS subfolders
#filter "*.htm;*.html;*.php;*.jpg;*.gif;-CVS\"
#
#NO FILTERS APPLIED - SYNC ALL FILES
#
#Sync the files from Swebsite.com/_data to localserver.
sync create-empty mirror:lt->rt
So can this be done to add overwrite command so that i dont have to say Yes To All every day.

Cheers
Helio
Comment