FlorianHeigl / googlecl

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

Cannot upload .zip files into Google Docs #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type google docs upload test.zip

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

The expected output is that the file is uploaded successfully, as Google Docs   
is able to store any type of file.

This is what I'm seeing:

(torke@icarus) [~]$ google docs upload test.zip
Loading test.zip
Failed to upload test.zip
{'status': 415, 'body': 'Content-Type application/zip is not a valid input 
type.', 'reason': 'Unsupported Media Type'}

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

gdata-2.0.10 and googlecl-0.9.5, running on Slackware Linux

Please provide any additional information below.

Original issue reported on code.google.com by tho...@lagged.ca on 19 Jun 2010 at 2:17

GoogleCodeExporter commented 9 years ago
The Google Data API does not support uploading any file type like the web 
interface.

Please direct your anger at the gdata project:
http://code.google.com/p/gdata-issues/issues/detail?id=2073

Original comment by mjbauer95 on 21 Jun 2010 at 3:58

GoogleCodeExporter commented 9 years ago
mjbauer is correct. The API only supports certain mimetypes, though with Docs 
getting an overhaul with v3, this might not be too far off.

Original comment by tom.h.mi...@gmail.com on 22 Jun 2010 at 5:02