Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Limit on URL length copyTo REST command

$
0
0

I'm using this REST command.  On really long names (strNewUrl), it fails.

Does anyone know the limit?

Thanks.

CopyTo method

Copies the file to the destination URL.

Endpoint

/copyto(strNewUrl, bOverWrite)

Parameters

strNewUrl

Type: String
The absolute URL or server relative URL of the destination file path to copy to.

bOverWrite

Type: Boolean
true to overwrite a file with the same name in the same location; otherwisefalse.

HTTP method

POST


Tom


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>