Issues with synchronize script
Hi,
we want to synchronize Windows CA CRL directory to remote website.
If I use:
It will throw an error:
If I change the local folder to
Is there something in the code blocking access to
we want to synchronize Windows CA CRL directory to remote website.
If I use:
synchronize remote -delete -filemask="*.crl; *.crt; *.pem" "C:\Windows\System32\certsrv\CertEnroll" "/remote/path/CertEnroll"
This happens even when running from an administratorError listing directory 'C:\Windows\System32\certsrv\CertEnroll\*.*'.
Error retrieving file list for "C:\Windows\System32\certsrv\CertEnroll\*.*".
System Error. Code: 3.
The system cannot find the path specified
(A)bort, (R)etry, (S)kip: Abort
Error listing directory 'C:\Windows\System32\certsrv\CertEnroll\*.*'.
Error retrieving file list for "C:\Windows\System32\certsrv\CertEnroll\*.*".
System Error. Code: 3.
The system cannot find the path specified
cmd.exe
in which we can cd
to the directory and list its contents (and read them) just fine.
If I change the local folder to
C:\Test
all is well, but the file aren't there.
Is there something in the code blocking access to
C:\Windows
or something?