I am trying to use a Web Request in Sharepoint 2016 to move files from once folder to another using the following request:
Note the %3B in the filename. (%3B = Semicolon). It returns Unexpected error occurred while making the request.
I have tried the ; directly with no luck as well. Is there another way to escape or encode the semicolon to make it work?
Thank-you!
URL: http://mywebsite/mysharepointsite/_vti_bin/_vti_aut/author.dll
POST
Headers:
Name: X-Vermeer-Content-Type
Value: application/x-www-form-urlencoded
Content:
method=move+document:14.0.2.5420&service_name=/&oldUrl=Published Documents/test%3Bdoc%2Epdf&newUrl=Published Documents/2016/test%3Bdoc%2Epdf&url_list=[]&rename_option=findbacklinks&put_option=overwrite,migrationsemantics