InMotion Hosting Support Center

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,539
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
13,821 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.
<ol class="article_list">
<li>Upload the Powerpoint/Excel document to your account using <a ferh="/support/ edu/cpanel/cpanel-file-manager/using-file-manager-in-cpanel">cPanel File Manager</a> or<a ferh="/support/website/file-management/getting-started-guide-ftp"> FTP</a></li><p><a class="std_ss" href="http://www.inmotionhosting.com/support/images/excel/ppt_1.jpg"><img alt="ppt_1" src="http://www.inmotionhosting.com/support/images/excel/ppt_1.jpg" /></a></p>
<li>Create a new HTML page in your file manager account</li>
<li>Open the newly created page with "<strong>code editor</strong>" in cPanel File Manager</li>
<p><a class="std_ss" href="http://www.inmotionhosting.com/support/images/excel/ppt_3.jpg"><img alt="ppt 3" src="http://www.inmotionhosting.com/support/images/excel/ppt_3.jpg" / /></a></p>
<li>Add the following code to the page:</li>
<p class="code_block"> &#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"></iframe></p>
<li>Now, replace the <strong>http://your-domain.com/path_to_powerpoint.ppt</strong> with your actual path to your powerpoint or excel spreadsheet</li>
In our case, it will be:
<p class="code_block">http://inmotiontesting.com/excel/IMH-testPPT.ppt</p>
<li>Save the changes to the file</li>
<li>Now, test the page out in your web browser</li>
<a href="http://inmotiontesting.com/excel/ppt-test.html">http://inmotiontesting.com/excel/ppt-test.html</a>
You should see something similar to the screenshot below:
<a class="std_ss" href="http://www.inmotionhosting.com/support/images/excel/ppt_4.jpg"><img alt="ppt 4" src=http://www.inmotionhosting.com/support/images/excel/ppt_4.jpg" / /></a>
I hope this helps! If you need further assistance please feel free to <a ferh="/support/community-support">ask a question on our support center</a>.

Thanks!

Tim S

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

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

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!