I first wanted to post this question on Stackoverflow, then thought Programmers is more appropriate, now hesitating.
Is the question below on-topic here, or better on Stackoverflow, or elsewhere?
I wrote a sync tool to synchronize folders/files from Alfresco to Windows.
- In Alfresco, /files/can/have/very/very/very/long/filepaths/like/this.txt
- In Windows. a path can not be more than 255 characters.
In addition to telling the user there is a problem, what is the best practice in such a case?
- Shorten the file's name?
- Skip the file?
- Create a sort of "folder's carriage return", a special folder from which the path can continue?
- Something else?