vj57 / googlecl

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

File Extension dropped on upload #356

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload a PDF file using googlecl
2.
3.

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

The file extension is stripped, so when downloaded to the PC, it is missing the 
.pdf and isn't recognized as a valid pdf file

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

What version of gdata-python-client (aka python-gdata)?

Python 2.6.6
gdata 2.0.13

Please provide any additional information below.

Original issue reported on code.google.com by annac...@gmail.com on 2 Feb 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Oops -- operating system is Windows 7

Original comment by annac...@gmail.com on 2 Feb 2011 at 9:47

GoogleCodeExporter commented 9 years ago
Yep, we noticed this also. A tar.gz file was renamed to .tar  (while it still 
remains a gz file, since we tested this by downloading and extracting again)

Original comment by rjankie on 4 Feb 2011 at 8:40

GoogleCodeExporter commented 9 years ago
You should provide the --format param like this:

google docs upload a.pdf --format pdf

Original comment by szy...@endpoint.com on 29 Dec 2012 at 2:44