File manager - replace files?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

File manager - replace files?

Post by rbaby »

Any time I upload a file via file manager, instead of replacing the existing file, it will append (#). Is there a setting I can get it to just replace the file of the same name, as opposed to doing this?

Thanks!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: File manager - replace files?

Post by Rolf »

I noticed this too. In latest release we updated the modules upload software. Looks like this is a "feature" of it...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: File manager - replace files?

Post by paulbaker »

:-\ Ouch, yes just checked on a 1.11.10 site, you're right.

Ideal behaviour, I suppose, would be a check for same filename and a "Do you want to overwrite file y/n" dialog.
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: File manager - replace files?

Post by rbaby »

Guess there is no setting then, is this something that we can request to amend? As it stands, I can't update files I have to delete it and then re-name the filename (1).ext and that's not ideal on high-impact files such as js files.
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: File manager - replace files?

Post by rbaby »

Rolf wrote:I noticed this too. In latest release we updated the modules upload software. Looks like this is a "feature" of it...
Thanks, is there any plan of making it so you can replace...? This is an issue even on images that need to get replaced.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: File manager - replace files?

Post by paulbaker »

Hoorah. ;D This appears to have been resolved in CMSMS 2.0 which is currently in Beta test.

When you upload a file of the same name it silently overwrites the original file. This is much more intuitive behaviour.
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: File manager - replace files?

Post by Guido »

Great, I also believe this is the best choice.

99 out of a 100 times it's the admin who uses the file manager, who knows what he's doing so probably won't upload a wrong file. It's annoying to delete the old file every time before you can upload a new one.
cmsgenie
New Member
New Member
Posts: 3
Joined: Tue May 13, 2014 8:36 am

Re: File manager - replace files?

Post by cmsgenie »

Unfortunately this is causing a problem right now for my users on 1.11.10. We may be some way from a CMS 2 release, and so 1.11.10 is the current production version.
Is there anyway this change can be ported into an updated FileManager for 1.11.10?
Locked

Return to “CMSMS Core”