You will need to place the script in the <SAS_CONFIG>\Lev1\Web\Utilities directory.
For Windows: WebDAVDump92.bat http://server:port/SASContentServer/repository/default/sasfolders/<folder> <user> <password> <path to zip file>
For UNIX:
WebDAVDump92.sh http://server:port/SASContentServer/repository/default/sasfolders/<folder> <user> <password> <path to zip file>
Example: WebDAVDump92.sh http://myserver:8080/SASContentServer/repository/default/sasfolders/myfolder sasadm@saspw mypassword /usr/mydump.zip
You will need to place the script in the <SAS_CONFIG>\Lev1\Web\Utilities directory.
For Windows: WebDAVRestore92.bat http://server:port/SASContentServer/repository/default/sasfolders/<folder> <user> <password> <path to zip file>
NOTE: If you are trying to dump a directory that has spaces in its name, you
will need to put quotes around the whole path. For example:
WebDAVDump92.bat
"http://myserver:8080/SASContentServer/repository/default/sasfolders/my folder
name" sasadm@saspw mypassword C:\mydump.zip
For UNIX:
WebDAVRestore92.sh http://server:port/SASContentServer/repository/default/sasfolders/<folder> <user> <password> <path to zip file>
Example: WebDAVRestore92.sh http://myserver:8080/SASContentServer/repository/default/sasfolders/myfolder sasadm@saspw mypassword /usr/mydump.zip
For troubleshooting purposes, you may find it very helpful to pipe the command window output to a file. To do this, add > OutputFileName to the command.
For example: WebDAVDump92.bat http://myserver:8080/SASContentServer/repository/default/sasfolders/myfolder sasadm@saspw mypassword C:\mydump.zip > C:\WebDAVDump_output.txt