Replace existing uploaded file (same name)? 
Posted: 15 October 2007 09:22 AM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  46
Joined  2007-09-10

Hi,

I’d like to be able to replace an existing file with a new version with the same name. I’m using rename_duplicates="yes” which adds a prefix to the file uploaded. If I use rename_duplicates="no” it gives me a warning that I cannot upload a duplicate file. Is there any way to gain the functionality of the control panel, where it warns me but allows me to re-upload the same file, keeping the same name? This would be super helpful.

Thanks!

Profile
 
 
Posted: 17 October 2007 06:09 PM   [ Ignore ]   [ # 1 ]
Jr. Member
RankRank
Total Posts:  46
Joined  2007-09-10

pretty please? can you help?

Profile
 
 
Posted: 22 October 2007 09:30 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  702
Joined  2004-03-30

Evoir,

I wasn’t planning to allow this as the File Upload is normally used by front-end users who should not be overriding anything present on the server. It may be great for you, but someone with less EE experience would be ready to sue Solspace the first time an important file was over-written.

mk

 Signature 

Mitchell Kimbrough

Profile