Suppose I have a document library or, a folder inside a document library with some special character e.g. te$t. I want to do GetFolderByServerRelativeUrl to upload some file to that folder. But it fails because the url removes these special characters. What is the right way to handle this in Client Object Model?

2 Answers 2


Have you tried URL encoding..

$ = %24


Use URL encoding for all parameters before REST call. So te$t will become te%24t which is accepted,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.