Hello. I am trying to implement downloading in CEF
What I am trying to achieve is: how to let CEF handle the download when a fetch request/XHR request is made in JS.
I tried downloading the entire file in JS and create an ObjectUrl and clicking on it will call download handler of CEF and it shows the file picker and writes to file from memory but the problem is memory bumpup in case of huge files. I would ideally want CEF to download files when a fetch/XHR request is made(there are some authentication headers). What is the ideal way to do this in CEF and please point me in that direction. Also is it possible to show an open file dialog for multiple downloads and let CEF handle the downloading and multiple files with same name cases? I can't find any way to do this. What I understand is we need to show separate save-as dialogs for all the files downloaded as a group. Can we do any better than this??
Thanks in advance.