salimoha / googlecl

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

Upload file with multiple "." leads to incorrect parsing of file name #277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "google docs upload some.file.with.lots.of.periods.pdf"
2. filename will be "some.pdf"
3.

What is the expected output? What do you see instead?

I expect to see "some.file.with.lots.of.periods.pdf"
I actually see "some.pdf" instead. 

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

googlecl-0.9.10
Fedora 13 2.6.33
python-gdata-2.0.11-1
libgdata-0.6.4-1

Please provide any additional information below.

Obviously just a simple parsing error. For the record, this is the first time 
I've been able to upload .PDF files(my main reason for using googlecl) so I 
don't know how long this bug has been present. 

Original issue reported on code.google.com by ehrich.w...@gmail.com on 6 Sep 2010 at 4:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r411.

Original comment by tom.h.mi...@gmail.com on 8 Sep 2010 at 4:06

GoogleCodeExporter commented 9 years ago
Alright, think I got this one. Try the attached patch, should make your 
filenames significantly more coherent. 

Original comment by tom.h.mi...@gmail.com on 8 Sep 2010 at 4:07

Attachments:

GoogleCodeExporter commented 9 years ago
Works beautifully. Thanks. 

Original comment by ehrich.w...@gmail.com on 8 Sep 2010 at 7:06