markz0r

Results comments of markz0r

This also applies to downloading via the Drive API, specifically mimeType Application/vnd.google-apps.* Thanks @musalbas your advice solved my problem.

@jonparrott ok thanks will take a look @Capstan This code example fails as total_size is never defined, thus status is always False. This only occurs for the export_media function which...

For anyone looking for a work around: ``` def downloadFile(file_name, file_id, mimeType, service): request = service.files().get_media(fileId=file_id) if "application/vnd.google-apps" in mimeType: if "document" in mimeType: request = service.files().export_media(fileId=file_id, mimeType='application/vnd.openxmlformats-officedocument.wordprocessingml.document') file_name =...