It seems that when you upload a batch of files using commander then it automatically makes them all lower case. Is it possible to turn this behaviour off? - I use case sensitive files names for various reasons and it is a pain having to rename them after uploading with commander.
RogerCO
uploading makes filenames lower case :-(
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: uploading makes filenames lower case :-(
Hi, which version of Phoca Commander do you use?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
Re: uploading makes filenames lower case :-(
Hi Jan,Sorry for delay in replying - I must have turned notifications off - I have v3.03 the latest version from here installed a week ago. Joomla 3.8.3 using php 7.0.27 on Apache 2.4.25.
Roger
Roger
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: uploading makes filenames lower case :-(
Hi, try to open this file:
administrator/components/com_phocacommander/helpers/fileupload.php
line cca 294 and try to change
FROM:
TO:
Let me know if this helped?
Thank you, Jan
administrator/components/com_phocacommander/helpers/fileupload.php
line cca 294 and try to change
FROM:
Code: Select all
$filepathImgFinal = JPath::clean($pathFolder.strtolower($file['name']));
Code: Select all
$filepathImgFinal = JPath::clean($pathFolder.$file['name']);
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
Re: uploading makes filenames lower case :-(
Hi Jan,
Yes that works perfectly (and I could even make the change from within Phoca Commander rather than logging in to cpanel :-) ).
In case some people like the automatic conversion to lower case perhaps you could make it an option if and when you next do an update otherwise the change may get overwritten on update. I'll make a note to myself to check anyway if PhocaCommander is updated.
Many thanks.
RogerCO
PS how do I mark this thread 'Solved'?
Yes that works perfectly (and I could even make the change from within Phoca Commander rather than logging in to cpanel :-) ).
In case some people like the automatic conversion to lower case perhaps you could make it an option if and when you next do an update otherwise the change may get overwritten on update. I'll make a note to myself to check anyway if PhocaCommander is updated.
Many thanks.
RogerCO
PS how do I mark this thread 'Solved'?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: uploading makes filenames lower case :-(
Hi, Ok, added to feature request list (I need to do some more tests if this will not break any other feature).
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: uploading makes filenames lower case :-(
If you find Phoca extensions useful, please support the project