Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 434209

Summary: Add support to download any file from any file system plugin.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 5.0   
Target Milestone: 6.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2014-05-06 09:23:02 EDT
Currently if you right click on a file from within Orion file system, and click on "open with browser", it will open the browser or just download a file. But if you do the same steps on other file systems, e.g. html5 local file plugin, gitHub file plugin, it just gives you error message in the browser.

It happens to work in Orion file system because the file Location is the same as the raw file URL. But for other file systems, it may not be true.

To resolve this we should use the readBlob API instead of using the .Location property directly.

We need an action in the "export" action group to support user to download any file from any file system.

As "export as zip" is only supported form Orion server, we should also think about "client side zip" to support none Orion file systems.
Comment 2 libing wang CLA 2014-05-07 12:28:36 EDT
"Export"->"download" action is rendered when  single file is selected.

Safari does not support BlobURL download. So the "Export"->"Download" on Safari will popup a message suggesting using supported browsers such as Chrome, FireFox an d Internet Explorer.