Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ann03 1 post 21 karma points
    Sep 06, 2013 @ 16:33
    Ann03
    0

    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

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Sep 07, 2013 @ 20:55
    Andy Butland
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft