TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-08-04 20:56:00
subject: Duplicate uploads overwri

Hello g00r00!

I just noticed that if I upload a file which already exists (to some file area), the existing file gets overwritten. So someone could "destroy" a file by uploading another file with the same name but with different contents. And probably it will look like the original uploader uploaded the latest ("destroyed") file. Is there any way to prevent this?

Also, a file which has been deleted (Edit --> Delete) from the file listing
will be considered still present (classified as a duplicate) by the upload function as long as mutil PackFileBases maintenance hasn't been run since the deletion. It doesn't matter whether the file actually exists on disk or not. Is there any way the dupe detection could ignore deleted entries? Or perhaps this would collide with some uniqueness constraint of the file base index files?

Best regards
Bj”rn

--- Mystic BBS v1.12 A47 2021/07/31 (Linux/64)
                                                                 
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.