Welcome Guest Search | Active Topics | Sign In | Register

configure location of downloads folder Options
roger reynolds
Posted: Wednesday, November 26, 2014 2:12:34 PM
Rank: Advanced Member
Groups: Member

Joined: 3/11/2014
Posts: 57
Using the EO web browser (for wpf if that matters).
When the user clicks on some file to download, how can we control the location?
In chrome, the file just downloads to their "Downloads" folder. Simple.

In EO, a system file browser dialog appears.

And it is super confusing because while the folder view is of the last location they previously browsed to, the filename is a full path to some appdata temp location.

For example, running the TabbedBrowser sample, going to the essentialobjects.com downloads page, and selecting one of the items,
my file choose has the filename set to C:\Users\rreynolds\AppData\Local\Temp\EOTotal_2014_Setup.exe

If I just click save, i think it goes to the folder where my explorer was located, but it really goes to that full path.
If I navigate in the file chooser, the filename is converted to just the basename, and so when I save, it goes where i expect.

Maybe this is part user error, or part windows stupidity, but many users will be totally confused by this.

Is there any way to pre-select the path of the download file so that it either so it does not contain a full path (thereby just goes where the chooser is located, or contains a sensible path (like user downloads)?

Hope that made sense.

Thanks.
eo_support
Posted: Wednesday, November 26, 2014 7:57:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

Please see here for more details about how to customize the download related UIs, including disabling the default "Save As" dialog:

http://www.essentialobjects.com/doc/6/customize/download.aspx

To save the file into your own location, you will need to set the e.FilePath in your BeforeDownload event handler.

Thanks!
roger reynolds
Posted: Wednesday, November 26, 2014 10:37:27 PM
Rank: Advanced Member
Groups: Member

Joined: 3/11/2014
Posts: 57
That'll do.
Thanks.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.