Synchronise network folder

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Synchronise network folder

Post by Caz »

Hi,
I am trying to setup a sync job through scripting. I have already setup such jobs succesfully but when trying to use a network folder as the target path I get an error "not a valid target path". Is this really not possible ?
Thanks for your help.

Edit: I also tried mapping the network folder as a drive in Windows (as a workaround) with no success

highend
Posts: 14743
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Synchronise network folder

Post by highend »

First, show the script...
One of my scripts helped you out? Please donate via Paypal

Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Re: Synchronise network folder

Post by Caz »

Just a "single" line.

Code: Select all

sync "C:\Users\Caz\Documents\Projects\",
        "\\share.enterprise.corp\Backup\Documents\Projects\",
        1,
        0,
        0,
        ,
        "\\share.enterprise.corp\Backup\Logs\<date yyyy-mm-dd>.txt" ;

highend
Posts: 14743
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Synchronise network folder

Post by highend »

Both the target and the logfile path must exist. Your target doesn't...
One of my scripts helped you out? Please donate via Paypal

Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Re: Synchronise network folder

Post by Caz »

Thanks highend ! That works.
I feel so dumb each time I ask a question here.

Post Reply