IBM i Access for Web

Frequently asked questions

Tips and FAQs

Forcing a Save As window when using Internet Explorer

When using Microsoft Internet Explorer and any of the iSeries Access for Web functions to download a file to the browser, many times Internet Explorer will display the file's content in the browser without offering an opportunity to just save the file. Basically, Internet Explorer sniffs the data, and for many file types decides it is capable of displaying the data. Many users do not want this behavior, and would prefer to save the file immediately.

To get around this issue, starting with V5R3 5722XH2 PTF SI18964, iSeries Access for Web can now optionally write a HTTP header that forces Internet Explorer to display a File Save As window. The HTTP header being written is a Content-Disposition header. The Content-Disposition header that can be optionally written is controlled by creating a file. Different Content-Disposition headers can be written based on the file content-type (MIME-type) being downloaded.

iSeries Access for Web uses the file extension to determine the file content-type (MIME-type) to be sent to the browser. The file content-type is used by the browser to determine how best to render the information. For more information on controlling the MIME-type based on the file extension, see the iSeries Access for Web File considerations article in the iSeries V5R3 Information Center. This article covers how to map file extensions to different MIME-types.

Once the MIME-type mapping setup has been done, a file needs to be created in the iSeries Access for Web UserData tree. For most of the supported web serving environments, the iSeries Access for Web UserData tree is:


Replace application_server, instance_name, and server_name with the unique values on your system.

The file needs to contain entries that specify what Content-Disposition header value should be written based on the MIME-type of the file being downloaded using iSeries Access for Web.

The following properties files show an example of what would be required to force a File Save As window when downloading a file with a .TXT extension.

The file needs to contain:

The file needs to contain:

Changes to the properties file will take effect within a couple of minutes of the files being changed. The changes do not take effect immediately unless the web application system is stopped and restarted.

Contact IBM

  • Call IBM Support Line:
    1-800-IBM-SERV (1-800-426-7378)1-800-426-7378
    Inside the US

Next generation applications for big data and analytics and cognitive computing are providing unprecedented insights into opportunities, threats and efficiencies. IBM Power Systems is at the forefront of delivering solutions to gain faster insights from analyzing both structured information and unstructured big data. With the secure, flexible and open platform of IBM Power Systems plus solutions and software, organizations can outpace their competitors by delivering faster services, providing differentiated offerings and turning operational cost into investment opportunity.

To draw insights and make better decisions, businesses rely on the secure, flexible and open platform of IBM Power Systems. Built with the first processor designed for big data workloads, the design of Power Systems combines the computing power, memory bandwidth and I/O in ways that are easier to consume and manage, building on strong resiliency, availability and security.

IBM Power Systems deliver flexibility and choice of operating systems to enable your business to support the next generation applications for big data and analytics and cognitive computing that are transforming how organizations work today. Whether running 1, 2, or all 3 - coupled with PowerVM, they maximize the benefit of Power Systems in your business.

Transform your business with Systems Software that enables virtualization, high availability, flexibility, security and compliance on Power Systems™. IBM’s integrated approach to developing Systems and Systems Software together delivers optimized results with Power Systems.

As an open innovation platform, Power Systems is optimized for big data and analytics performance and to deliver scale-out economics and security for the cloud. IBM and IBM Business Partner solutions exploit key capabilities in IBM Power Systems.

Over the last five years thousands of clients have migrated to IBM Power Systems for choice and flexibility. Learn how Power Systems has helped them revolutionise the way IT is developed and delivered, optimise for big data and analytics, and support private, public and hybrid offerings for scale-out or scale-up implementations all while improving business performance, reducing risk, and establishing a platform for growth.

Additional information