1
Vote

Problem with illegal chars and blank

description

I need to make a massive upload to SP from a shared disk, but uploader skips several files having filename starting with illegal chars followed by space.


eg: "~ A Cover Letter - Charter of Flotel.pdf"

"ERROR System.Net.WebException: The remote server returned an error: (414) REQUEST URI TOO LONG."

Your fantastic tool removes illegal but not the space.

Tnx
Sergio

comments

sluppo wrote Mar 5, 2013 at 3:03 PM

Solved by myself:

In Class FileNameConverter it is sufficient to invert order:
first replace illegal characters
next trim "." and " " from filename

bye
Sergio