dediupit / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

File name collision: overwrites file, but date and number of files wrong #362

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. User1 uploads a file
2. A week later, User1 changes the contents of that file and re-uploads it 
using the same name
3. Email is sent that file has been uploaded 
New files has been uploaded by the following clients

    User1

    September 2013 Excerpts Images

    Images for the September 2013 Excerpts - 2nd version

4. The file is, indeed, on server in place of old one. However, their count of 
files available is wrong and the file date is not updated to the new date.

Manage Client, Files Own: 6

Client files:

Showing: 5 files
....
    August 9, 2013 16:28    zip     September 2013 Excerpts Images 

5. Incidentally, the activity log also seems to be missing the file information.

Log does not show User1 uploading "September 2013 Excerpts Images" again
    August 16, 2013 16:40   ECN     (user) downloaded the file  September 2013 Excerpts Images  assigned to:    ECN
    August 16, 2013 16:21   ECN     logged in to the system.            
    August 16, 2013 13:41   User1   logged in to the system.            
    August 9, 2013 16:56    ECN     (user) downloaded the file  September 2013 Excerpts     assigned to:    ECN
    August 9, 2013 16:51    ECN     (user) downloaded the file  September 2013 Excerpts Images  assigned to:    ECN
    August 9, 2013 16:51    ECN     (user) downloaded the file  September 2013 Excerpts     assigned to:    ECN
    August 9, 2013 16:51    ECN     logged in to the system.            
    August 9, 2013 16:28    User1   (client) uploaded the file  September 2013 Excerpts Images      

What version of the product are you using? On what operating system?

Note: version r412

Please provide any additional information below.

Not sure if the file size is right, either.

Original issue reported on code.google.com by adwo...@idgevanston.com on 16 Aug 2013 at 8:57

GoogleCodeExporter commented 8 years ago
Hello,

I have a similar problem on r561 version.

1: Client upload one file "filename1.doc" and name it "file name version 1".

2 few days later, the same client upload the same file with some modifications 
"filename1.doc" and name it "file name version 2".

Then in the list, the first version disappear.
I understand that it comes from the original name of the uploaded files.

The problem is this one:
The Client has not been notified for the conflict filename.

Maybe 2 solutions:
- an automatic rename of filename, if already exists.
- a notification for the client.

Original comment by sam....@gmail.com on 20 May 2014 at 10:03