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 373 posts 2057 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies