contact  |  about  |  sitemap

How to automate IE File Download Dialog
Last Post 20 Oct 2009 01:33 PM by Tijn. 1 Replies.
Sort:
PrevPrev NextNext
Author Messages Not Resolved
sheltonjr

--
18 Oct 2009 11:05 PM
This is a similar question as "Save a pdf?" That I don't think was answered.

I use "Run Web Macro" to create a recording to navigate to a certain export options web page. When I press the "Export" Button. IE brings up a Windows File Download Dialog asking "Do you want to open or save this file?". I then have to hit the "Save" button to save this file. But since this is a Windows Forms Dialog it cant be recorded to automate the process.

I have googled trying to disable this dialog, but have not found a solution. If I use FireFox to navigate to the page and hit the "Export" button, the file is saved directly to the default save location without the File Download dialog. (What I want!!!!).

The "Export" button calls a postback that accesses a database to generate a .csv file that I want to save directly to the disk drive.

If you want to reproduce this same problem, follow the following instructions:

Go to Website democlub.clubexpress.com
Press "Login" link upper right.
Enter username: msmith password: hello
Select "Control Panel" Bottom left.
Select "Data Export" Bottom right.
Click "Export" buttom on bottom of page.

Thanks for the help.

Jim Shelton
Tijn

--
20 Oct 2009 01:33 PM
Hello Jim,

I checked your site and have found no solution to save directly instead of the IE pop-up. The problem: it's default behavior by IE. And based on security MS won't allow developers to bypass this dialog.

Also the code generating the CSV is server side, so there is nothing you can do in the javascript environment to find the direct URL to the temp file on the server.

Tijn


Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.