POSTDATA.ATT file opening, but not displaying correctly

Posted on 2008-06-25
Last Modified: 2008-06-26
I have created a form for uploading files on a website. I have the file and information sent to an email address. The file arrives as a POSTDATA.ATT file. I first had trouble opening it, but viewed advice on EE suggesting Notepad or Excel was used. Whilst these opened the file, the document was displayed as symbols and numbers. The files uploaded were .pdf. Is there any software or something I can do that can deal with this problem? The website I am building is for a friend, so he needs to be able to access these sent files, if there is no way around this issue via email, is it possible to set up a destination which he only could access?
Question by:scaysboom
  • 3
  • 2
LVL 11

Expert Comment

ID: 21870624
Not sure of your quewstion or if this is what you're looking for, but have you tried renaming the atteched and saved file from "POSTDATA.ATT" to "POSTDATA.PDF"?  That way Acrobat reader can/should open it easily.

Author Comment

ID: 21870671
Hello robsantos
Forgive me for my ignorance but how do you change a file type?
If i rename it as POSTDATA.PDF, then it just saves as POSTDATA.PDF.ATT
not actually changing the file type. I am a noob however so if you could explain how, it would be great to try your idea
LVL 44

Expert Comment

ID: 21870739
If it is a WEB FORM, you need to save it with an HTML or HTM extension for it to be viewed correctly.  For some reason, whatever you are doing is reading it just as postdata, when it is (presumably) correct HTML, so rename the extension to HTML and then it should view correctly.
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.


Author Comment

ID: 21879930
ive tried saving it as a pdf file and html file but still opening as symbols and numbers?
Any other ideas or advice?
LVL 44

Accepted Solution

scrathcyboy earned 250 total points
ID: 21879944
you need to go back to the original site, and open it in the browser.  Then save AGAIN as the correct format for the type of file you have -- if a form, it MUST be in HTML format to view correctly in a browser.  If you cannot get the file into the correct format, there is something on the site blocking it -- I would give up on it.

Author Comment

ID: 21880144
Thank you scratchy
think i will give up lol

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now