[GH-ISSUE #1143] Upload from URL overwrites existing file while normal upload renames file #734

Closed
opened 2026-03-02 16:01:06 +03:00 by kerem · 1 comment
Owner

Originally created by @RavanH on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1143

Hi,

When doing a normal Upload file and a file with the same name already exists, then the new file will get a unique name suffix to prevent the old file from being overwritten. But when going through Upload from URL, this does not happen. The original file will get overwritten without any warning.

This might need a bit more thought...

  1. Make the behavior coherent between the two upload methods
  2. Maybe add a config option to allow switching between rename and replace?
Originally created by @RavanH on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1143 Hi, When doing a normal Upload file and a file with the same name already exists, then the new file will get a unique name suffix to prevent the old file from being overwritten. But when going through Upload from URL, this does not happen. The original file will get overwritten without any warning. This might need a bit more thought... 1. Make the behavior **coherent** between the two upload methods 2. Maybe add a config option to allow switching between **rename** and **replace**?
kerem closed this issue 2026-03-02 16:01:07 +03:00
Author
Owner

@prasathmani commented on GitHub (Feb 7, 2024):

check this out #1133

<!-- gh-comment-id:1931241536 --> @prasathmani commented on GitHub (Feb 7, 2024): check this out #1133
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#734
No description provided.