Best practice to sync long paths to filesystems where path length is limited?
https://softwareengineering.stackexchange.com/questions/186453
-
05-11-2019 - |
Pergunta
I wrote a sync tool to synchronize folders/files from Alfresco to Windows.
PROBLEM:
- In Alfresco, /files/can/have/very/very/very/long/filepaths/like/this.txt
- The Windows API prevents me from creating a path with more than 260 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?
Files need to be 100% usable by other applications. If necessary directory names can be modified, I can keep a mapping.
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a softwareengineering.stackexchange