How to Download a File in OpenFin
Current Capabilities:
- API ability to know a file started to download, its progress, and whether its completed
- API ability to launch the file
- API ability to develop UI interface for end-users (this is not out of the box from OpenFin)
Download File API
Window, Application and System all have events to facilitate file download
- Window:
file-download-started
,file-download-progress
andfile-download-completed
- Application and System:
window-file-download-started
,window-file-download-progress
andwindow-file-download-completed
All events provide general information about the file being downloaded and include a fileUuid property, which is a unique identifier that can be used to tie events together and can be passed to System.launchExternalProcess to launch the file.
Comments
0 comments
Article is closed for comments.