1

I'm working on a project to integrate Google Drive to a Django web application to view and upload files to Google Drive.

I was using Drive REST API for this requirement. Using the API, I tried uploading all type of files to GD (Google Drive).

All the files are getting uploaded successfully. But only .txt file type was able to open and download perfectly. All other types such as .docs, .xls, .jpef, etc. are not getting opened and downloaded. Opening these files on GD throws an error with No Preview available.

Can any one please help me with how to upload, view and download the .doc, .xls, image file?

xyres
  • 20,487
  • 3
  • 56
  • 85
  • Could you share the code you are using to upload those files? What are the settings you are giving to the API for those files? – Gerardo Dec 09 '15 at 17:42

0 Answers0