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

Category: File Management

JonParkSlope
Asked:
2012-02-28 11:41 am EST

Hits: 4,292
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

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Tim S.
Staff
9,967 Points
2012-02-28 12:57 pm EST
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. <iframe 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

    You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!