Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for long path names up to 32,767 characters. #54

Closed
rffrasca opened this issue Jan 5, 2025 · 0 comments
Closed

Add support for long path names up to 32,767 characters. #54

rffrasca opened this issue Jan 5, 2025 · 0 comments
Assignees
Milestone

Comments

@rffrasca
Copy link
Owner

rffrasca commented Jan 5, 2025

Is your feature request related to a problem? Please describe.
Yes, enabling long path support will allow the uploading and exporting of files with a path name length > 259 characters. This will prevent a System.IO.DirectoryNotFoundException from being thrown when the path name of the file being processed has a length > 259 characters. See #48 and #50.

Describe the solution you'd like
Add an application manifest with longPathAware set to true.

Describe alternatives you've considered
N/A

Additional context
This will also require LongPathsEnabled set to 1 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

@rffrasca rffrasca added this to the 11.0.1 milestone Jan 5, 2025
@rffrasca rffrasca self-assigned this Jan 5, 2025
@rffrasca rffrasca moved this to Ready in PDFKeeper 11.0.1 Jan 5, 2025
@rffrasca rffrasca moved this from Ready to In progress in PDFKeeper 11.0.1 Jan 5, 2025
@rffrasca rffrasca changed the title Add support for path names up to 32,767 characters. Add support for long path names up to 32,767 characters. Jan 10, 2025
rffrasca added a commit that referenced this issue Jan 10, 2025
@rffrasca rffrasca moved this from In progress to In review in PDFKeeper 11.0.1 Jan 10, 2025
@rffrasca rffrasca moved this from In review to Done in PDFKeeper 11.0.1 Jan 12, 2025
@rffrasca rffrasca closed this as completed by moving to Done in PDFKeeper 11.0.1 Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant