Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8290997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:58:52+00:00 2026-06-08T12:58:52+00:00

Recently I’ve integrated Google Drive with my iOS application. Everything works fine but .ppt

  • 0

Recently I’ve integrated Google Drive with my iOS application. Everything works fine but .ppt files. Normally if a file is a Drive file I use downloadURL to download it. If the file belongs to Google Docs I use one of the exportLinks (exactly the same as Alain described it here).

However all .ppt files (with "mimeType": "application/vnd.google-apps.presentation") which come from Google Docs are corrupted after being downloaded (I use an export link with exportFormat=pptx). The same file downloaded via web browser works fine.
I use ASIHTTPRequest lib for downloading files (which also can be the reason of corrupted .ppt?).

Any ideas why only ppt files cause problems?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:58:54+00:00Added an answer on June 8, 2026 at 12:58 pm

    I can already tell you that the lib you’re using isn’t the cause:I’m not using it but I’ve the same problem: it seems that there the code received isn’t 200 (if ($httpRequest->getResponseHttpCode() == 200)) as it shows me a specific error message I’ve asked to return in case of. Also, when I’m trying to download a presentation in PDF or txt, it shows the same error.

    It’s not really an answer but I’m trying to understand also why only presentations are causing problems.

    EDIT: the code received is 302. If it can help…
    EDIT 2: After trying, I noticed that the first parameter is the file id and the second the export format:

    https://docs.google.com/feeds/download/presentations/Export?docId=filedid&exportFormat=pptx
    

    But in the 302 code, I have this location:

    https://docs.google.com/feeds/download/presentations/Export?exportFormat=pptx&id=fileid
    

    Not only the two parameters aren’t in the same order but the name is id and not docid

    When I take this URL, put it as the export link and then try to copy the file, it’s working. I get a 200 response and the inside of the file.

    I hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently, I study HTML Canvas using Google Closure. but the performance of Google Closure
Recently I've created a weather application for windows phone 7 using C#. But it
Recently launched a Magento store which features an image slider on the homepage. Works
Recently I've begun to code in Objective-C for iOS 5 devices. My brand new
Recently,I am handling a solution for WebPart internationalization,but I am not familiar with the
Recently, I'm trying to solve all the exercises in CLRS. but there are some
Recently I saw a nice extension of Typo3. It is called metatags but I
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
Recently my records started to disappear from my application's database so I want to
Recently I changed the location of my css file and I want .htaccess to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.