Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to download files #65

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 8 comments
Closed

Ability to download files #65

GoogleCodeExporter opened this issue Aug 28, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

This is probably the only thing missing in phpdesktop right now, that would 
prevent existing web apps from working out of the box. This still needs work. 
We would need to implement CefDownoadHandler and display some "Save as" dialog 
using Windows API call, probably GetSaveFileName():

http://msdn.microsoft.com/en-us/library/windows/desktop/ms646928(v=vs.85).aspx

It would be nice to have the "Save as" in mouse context menu that would appear 
for links. It would give ability to download even those files that are not 
normally downloadable (no headers that identify it as an attachment).

I'm not yet completely sure about the "Save as" feature in context menu. How 
should it behave when user tries to download a link that is an html page? I 
don't think I'm going to implement the "Save complete webpage" feature, it's 
much more work, and it feels like it's a feature for a real web browser.

What would be the use cases for the "Save as" feature? I'm not yet convinced 
that we really need it. It would definitely need to be configurable through the 
settings.json file, because it's probably not desirable by everyone.

Original issue reported on code.google.com by [email protected] on 23 Jan 2014 at 6:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant