The MIME type returned by the ASP server is the problem here. The ASP should change the file type to text/comma-separated-value
Main Topics
Browse All TopicsHi
Im trying to run some software on an Apple Mac machine- performa 6360. My software creates a csv file via asp and downloads itself to the desktop folder, However I cant seem to be able to open the file. I have notepad installed but cant even open it via that.. any ideas
cheers
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The MIME type returned by the ASP server is the problem here. The ASP should change the file type to text/comma-separated-value
a .csv file is a plain old text file, with the information in the document separated by commas. CSV stands for comma separated values. It most likely is a list of some sort, or the exported contents of a database. Instead of double clicking on it, and ONLY if the file is less than 32k in size (highlight it, then choose file -> get info) you can open it with TeachText or Simple Text. Open that application, go to the file menu, navigate to the deskop, select that file, click open. If it's larger than 32k then you will have to use something else to view it in - Microsoft Word, Excel, AppleWorks, BBEdit, etc.
Data tables are presented in Comma Delimited, CSV text file format. Although this file format allows for the data table to be easily retrieved into a variety of applications, they are best viewed within one that will allow one to easily manipulate data that is in columnar format. Common examples of such applications are those that are used to create spreadsheets and databases.
If you don't have access to either a spreadsheet or a database application, you can also retrieve the data table file into either an ASCII text-editing or a word-processing application. However, since neither of these two application types has the facility to easily format the width of the data columns, quite a bit of manual reformatting will be required to properly view the data.
To retrieve the data table into a spreadsheet application, proceed with the steps that you normally go through to open an existing spreadsheet by opening excel, or Appleworks or part of OpenOffice
To import the data table into a database, create a new table and then import the data table file into the newly created database table.
Note that because the data table is formatted as a CSV Text Document, you may be prompted to set the file import options, which will ensure that the data is properly formatted when the file is retrieved into the spreadsheet or imported into the database table. The key file import options and their associated values are listed in the table below.
Import Option
Value
Data Type
Comma Delimited
File Origin
Windows ANSI
Text Qualifier
{"}
Field Delimiter
{,}
First Row
Field Names
Additionally, please note that null field values may be represented by the phrase "n.a." You may need to replace all instances of "n.a." with a blank field before importing the data table into your spreadsheet/database.
Tips:
Once you've retrieved/imported the data table, immediately save it to disk before making any formatting changes. This will avoid the need to reimport it should you run into problems formatting the table. Remember to save the file in the native format of the spreadsheet/database package rather than as a text file.
All fields, except those that contain numbers, should be specified as field type = text.
Numeric fields that contain "n.a." field values should have a numeric field type. When selecting which numeric field type to use, keep in mind that the field type you select will determine the decimal precision of the field. Decimal precision will, in turn, determine the amount of disk space that is allocated to the data stored in that field. In general, the greater the degree of decimal precision required, the more disk space that is needed to store the field value. If the overall size of the database is of a programmatic concern to you, choose your numeric fields carefully.
To print the entire data table, you may need to maximize your page format settings as follows:
Format Setting
Value
Page Size
Legal
Page Orientation
Landscape
Font Type
Any proportional font such as Line Printer, Arial, or Universe. A fixed font such as Times Roman or Courier will increase the required line length.
Font Size
8 point or smaller
Margins
Left = 0"
Right = 0"
Actual margin width will be set to the lowest default value for your printer.
***To Retrieve a Data Table into an ASCII Text Editor or Word-Processing Application
To retrieve the data table into either an ASCII text editor or word-processing application, proceed with the steps that you normally go through to open a text file or document.
If you are retrieving the data table into a word-processing application, you may be prompted to convert the file format. If yes, indicate that you are converting from "ASCII Text."
**Tips for Retrieving a Data Table into a Word-Processing Application:
Once you've retrieved/imported the data table, immediately save it to disk before making any formatting changes. This will avoid the need to reimport it should you run into problems formatting the table. Remember to save the file in the native format of the spreadsheet/database package rather than as a text file.
Since the data columns are delimited with commas, you can search and replace all instances of commas with a Tab command. This will automatically align the columns for easier reading.
To view and/or print an entire data table, you may need to adjust the document's tab settings so that the columns display correctly. Also, you may need to maximize your page format settings as follows:
Format Setting
Value
Page Size
Legal
Page Orientation
Landscape
Font Type
Any proportional font such as Line Printer, Arial, or Universe. A fixed font such as Times Roman or Courier will increase the required line length.
Font Size
8 point or smaller
Margins
Left = 0"
Right = 0"
Actual margin width will be set to the lowest default value for your printer.
Hope this helps
Business Accounts
Answer for Membership
by: brettmjohnsonPosted on 2003-09-10 at 22:49:15ID: 9334561
By the machine and nature of your problem, I assume you are running Mac OS 8 or 9.
These systems rely heavily on the file type and creator stored in the resource fork.
You are apparently creating these files on a Windows machine (ASP), and windows
web servers know nothing of Mac OS resource forks. So your software that downloads
the file must set file type and creator appropriately.