Request for Implementation of Maximum File Name Length Feature
-
- Posts: 9
- Joined: 23 Jan 2025, 16:45
Request for Implementation of Maximum File Name Length Feature
Hello Support Team,
I am using Extreme Picture Finder and have noticed that errors occur when downloading images because the automatically generated file names sometimes exceed the maximum allowed path length (for example, Windows typically limits paths to 260 characters). Currently, the only option available is to use numeric file names, which is not ideal for my workflow.
Would it be possible to implement a feature that allows users to set a maximum file name or path length? This option would greatly enhance flexibility and prevent errors when saving files.
Thank you for your support and continuous improvement of the software!
Best regards,
Hooti
I am using Extreme Picture Finder and have noticed that errors occur when downloading images because the automatically generated file names sometimes exceed the maximum allowed path length (for example, Windows typically limits paths to 260 characters). Currently, the only option available is to use numeric file names, which is not ideal for my workflow.
Would it be possible to implement a feature that allows users to set a maximum file name or path length? This option would greatly enhance flexibility and prevent errors when saving files.
Thank you for your support and continuous improvement of the software!
Best regards,
Hooti
-
- Site Admin
- Posts: 2335
- Joined: 02 Mar 2009, 17:02
Re: Request for Implementation of Maximum File Name Length Feature
OK, I'll add it to the to-do list. It would make the development easier if you could send me your project file or, at least, tell me your Starting URL and [ Save - Naming ] settings.
-
- Posts: 9
- Joined: 23 Jan 2025, 16:45
Re: Request for Implementation of Maximum File Name Length Feature
Hello, thank you this would be great!
Please find attached the project file.
https://we.tl/t-T9TfebAAqk
It is based on the standard Celebforum.co template and includes an enhancement whereby images are saved in a subfolder that incorporates parts of the URL (starting with “showthread…Page=…”).
The images retain their original filenames, possibly appended with digits at the end.
I hope this helps.
Please find attached the project file.
https://we.tl/t-T9TfebAAqk
It is based on the standard Celebforum.co template and includes an enhancement whereby images are saved in a subfolder that incorporates parts of the URL (starting with “showthread…Page=…”).
The images retain their original filenames, possibly appended with digits at the end.
I hope this helps.
-
- Site Admin
- Posts: 2335
- Joined: 02 Mar 2009, 17:02
Re: Request for Implementation of Maximum File Name Length Feature
OK, I got it. Thanks.
I think an option to limit the maximum characters of a file or sub-folder name could be added to the [ Additional ] tab of the corresponding section. Will it work for you?
Also, you could make your own Destinatiopn folder as short as possible, something like:
D:\EPF3
That could save you a lot of characters. Because by default the global root folder is:
C:\Users\UserName\Downloads\Extreme Picture Finder
And that has way more characters.
I think an option to limit the maximum characters of a file or sub-folder name could be added to the [ Additional ] tab of the corresponding section. Will it work for you?
Also, you could make your own Destinatiopn folder as short as possible, something like:
D:\EPF3
That could save you a lot of characters. Because by default the global root folder is:
C:\Users\UserName\Downloads\Extreme Picture Finder
And that has way more characters.
-
- Posts: 9
- Joined: 23 Jan 2025, 16:45
Re: Request for Implementation of Maximum File Name Length Feature
Hello Maksym
Thank you also for the tip to keep the target folder/path as short as possible – I'm already trying that. However, it cannot be too short, as I wouldn't be able to organize the folders properly.
Best regards
Yes, that would be great and very helpful!
Thank you also for the tip to keep the target folder/path as short as possible – I'm already trying that. However, it cannot be too short, as I wouldn't be able to organize the folders properly.
Best regards
-
- Site Admin
- Posts: 2335
- Joined: 02 Mar 2009, 17:02
Re: Request for Implementation of Maximum File Name Length Feature
OK, I've added it to the to-do list.
-
- Posts: 9
- Joined: 23 Jan 2025, 16:45
Re: Request for Implementation of Maximum File Name Length Feature
Ok, thank you, I'm looking forward to it!
-
- Site Admin
- Posts: 2335
- Joined: 02 Mar 2009, 17:02
Re: Request for Implementation of Maximum File Name Length Feature
I think your problem can be solved by simply modifying the Regular Expression you used for your sub-folder name. So, if you give me more details about the sub-folder names you are trying to create, I think I'll be able to help. So, for example, the thread address is:
What sub-folder name do you want from it? I mean, ideally.
Code: Select all
https://celebforum.co/showthread.php?t=24810&page=3
-
- Posts: 9
- Joined: 23 Jan 2025, 16:45
Re: Request for Implementation of Maximum File Name Length Feature
Hello Maksym,
Yes, the path can be shortened even further. However, it must be ensured that a correct subfolder is created for page 1 since the “&page=” parameter is missing there.
Currently, the subfolder for page 1 is created as follows:
The shortest variant I can think of would be:
For page 1: create the subfolder "24810"
For subsequent pages (e.g., page 2):
Ideally: "24810=2"
Or, if that is not possible: "24810&page=2"
An even better and more compact solution would be to use only page numbers instead of the last part of the URL.
This would mean:
Instead of showthread.php?t=24810, simply use the subfolder "1"
Instead of 24810&page=2, use the subfolder "2"
This method is the best approach, as it simplifies the folder structure while ensuring proper organization.
However, I’m not sure if this is feasible.
Yes, the path can be shortened even further. However, it must be ensured that a correct subfolder is created for page 1 since the “&page=” parameter is missing there.
Currently, the subfolder for page 1 is created as follows:
Code: Select all
showthread.php?t=24810
For page 1: create the subfolder "24810"
For subsequent pages (e.g., page 2):
Ideally: "24810=2"
Or, if that is not possible: "24810&page=2"
An even better and more compact solution would be to use only page numbers instead of the last part of the URL.
This would mean:
Instead of showthread.php?t=24810, simply use the subfolder "1"
Instead of 24810&page=2, use the subfolder "2"
This method is the best approach, as it simplifies the folder structure while ensuring proper organization.
However, I’m not sure if this is feasible.
-
- Site Admin
- Posts: 2335
- Joined: 02 Mar 2009, 17:02
Re: Request for Implementation of Maximum File Name Length Feature
Now I don't understand how the character limit could help you in this situation :( The thing you ask about is pretty simple and can be done with the Regular Expressions. If you want files from every page in a separate sub-folder, you have to use 2 Regular Expressions: one for the thread address without the page number and the other one for the thread address with the page number. Like this:
If you do not want the thread ID as the first sub-folder - you can have only page numbers as your sub-folders like this:
Code: Select all
Expression: /showthread\.php\?t=(\d+)$
Result: [#1]\1
Code: Select all
Expression: showthread\.php\?t=(\d+)&page=(\d+)
Result: [#1]\[#2]
Code: Select all
Expression: /showthread\.php\?t=(\d+)$
Result: 1
Code: Select all
Expression: showthread\.php\?t=(\d+)&page=(\d+)
Result: [#2]