billrobo / gdatacopier

Automatically exported from code.google.com/p/gdatacopier
0 stars 0 forks source link

Duplicate files created on upload #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a test.txt file on windows server
2. run command python gcp.py -u c:/test.txt account@gmail.com:/
3.

What is the expected output? What do you see instead?
Upload text.txt on first attempt works fine, on update, it just creates a new 
document name test.txt

What version of the product are you using? On what operating system?
2.1.2 Gdatacopier.  Windows Server 2008, 32bit with python 2.6.6 and gdata 
2.0.13

Please provide any additional information below.
This happens with any file type I try to upload, tested with txt, doc, docx and 
xls.
I did see a similar question in a previous issue, but it was closed and said to 
be resolved with 2.1

Original issue reported on code.google.com by mikeswea...@maximizetech.com on 25 Feb 2011 at 4:26

GoogleCodeExporter commented 9 years ago
As far as I am aware update works on download only.

Issue is there's no real "file name" on Google docs, and we can't trust the 
document title on Google docs because two documents can have the same title, 
and we stand the risk of overwriting something that already exits.

We also thought about keeping a local log of uploads but if you move files from 
directories, it becomes hard to keep track of new v/s modified docs.

Original comment by devraj on 1 Mar 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Merged with Issue 68

Original comment by devraj on 27 Feb 2012 at 9:44