I am looking to implement a scheduled task to automate the file uploading process to the Umbraco server. A new file with the same file name will be posted on a certain folder and need a scheduled task to pick up this file and replace the existing file( both have the same file name) on a weekly basis.
Can anyone please explain how this can be achieved,
I'd be tempted to do this outside of Umbraco assuming you have control of the server to set up scheduled tasks. If so you could look at creating a simple batch file with an xcopy statement something like this:
xcopy <path to source file> <path to destination file> /Y
And then set that up as a scheduled task to run once a week.
Create a scheduled task for File uploading
I am looking to implement a scheduled task to automate the file uploading process to the Umbraco server. A new file with the same file name will be posted on a certain folder and need a scheduled task to pick up this file and replace the existing file( both have the same file name) on a weekly basis.
Can anyone please explain how this can be achieved,
Thanks in advance
I'd be tempted to do this outside of Umbraco assuming you have control of the server to set up scheduled tasks. If so you could look at creating a simple batch file with an xcopy statement something like this:
xcopy <path to source file> <path to destination file> /Y
And then set that up as a scheduled task to run once a week.
Hope that helps
Andy
is working on a reply...