on 10-25-2010 5:32 PM
Hello,
I am trying to write a Windows PowerShell script to copy a file from my SharePoint site to a DB repository folder using a WEBDAV link. I am not getting it to work.
When I copy from SharePoint to SharePoint it works. I have used my credentials on the script which has the authorizations but it still isn't working. The response error is a 500 Internal Server error.
Any ideas?
Has anyone done this before?
Thanks,
Matt
This is not a solution but more an extra tool to help you find a solution....
You could download and install the Portal Drive to see what actions/commands are used to communicate via webdav to the KM repository.
Cheers,
B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using Portal Drive to create a local drive (G:) I was able to use the copy command in my script.
Thanks,
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check the contents of the response body (that comes with the 500), or the server log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.