mime type issue? can't view ftp'd office files and pdf

Avatar
  • Answered
Hi. I've uploaded office files (PPTX, XLSX), PDF's, and a TXT to my InMotion "public_html" directory in my personal ftp space. I then attempt to display them using http://delta-vega.com/. However, I am unable to open or save them using IE 9 and Windows 7 on my home laptop, except for the TXT file. At work, I have no problem with IE 7 and Windows XP. A tech at InMotion support said I have to change something with my mime types. Is this right, or what exactly do i have to do? An example would be delta DASH vega DOT com SLASH annotated_references.pdf
Avatar
Tim S.
Hi JonParkSlope, Thanks for posting your question. I'm sorry you are having issues with embedding documents. I'm more than happy to assist you. There is no way to display PowerPoint presentations and Excel spreadsheets in a web browser natively. However, you can use Google Docs and an iFrame to embed a PowerPoint or Excel spreadsheet in a webpage. You’ll need to create a webpage to display the iframe, but we’ll walk you through the steps below.
  1. Upload the Powerpoint/Excel document to your account using cPanel File Manager or FTP
  2. ppt_1

  3. Create a new HTML page in your file manager account
  4. Open the newly created page with "code editor" in cPanel File Manager
  5. ppt 3

  6. Add the following code to the page:
  7. &#60iframe src="http://docs.google.com/gview?url=http://your-domain.com/path_to_powerpoint.ppt&embedded=true" style="width:900px; height:600px;" frameborder="0">

  8. Now, replace the http://your-domain.com/path_to_powerpoint.ppt with your actual path to your powerpoint or excel spreadsheet
  9. In our case, it will be:

    http://inmotiontesting.com/excel/IMH-testPPT.ppt

  10. Save the changes to the file
  11. Now, test the page out in your web browser
  12. http://inmotiontesting.com/excel/ppt-test.html You should see something similar to the screenshot below: ppt 4 I hope this helps! If you need further assistance please feel free to ask a question on our support center. Thanks! Tim S