alephclient icon indicating copy to clipboard operation
alephclient copied to clipboard

fetchidir errors if the name of the file is too long

Open zufanka opened this issue 1 year ago • 0 comments

If the filename is long, I get an OSError: [Errno 36] File name too long and fetchdir errors and stops.

What should happen is either alephclient should either skip files where filenames are too long, or truncate filenames that are longer than 200 characters.

example filename: 24.Report%20of%20the%208th%20meeting%20of%20the%20Subgroup%20on%20Platforms%20of%20the%20Customs%202020%20Project%20Group%20on%20the%20Import%20and%20Export%20Customs%20Formalities%20Related%20to%20Low%20Value%20Consignments%20CPG%20146..Report%20of%20the%208th%20meeting%20of%20the%20Subgroup%20on%20Platforms%20of%20the%20Customs%202020%20Project%20Group%20on%20the%20Import%20and%20Export%20Customs%20Formalities%20Related%20to%20Low%20Value%20Consignments%20CPG%20146..pdf?cookie_passthrough=1

zufanka avatar Nov 19 '24 18:11 zufanka