Page 1 of 1

Send file on server.

Posted: Wed Mar 13, 2019 5:30 pm
by igor666
Please help. How to send file on server with CEF4Delphi without open file dialog? Thanks.

Re: Send file on server.

Posted: Wed Mar 13, 2019 6:04 pm
by salvadordf
Hi,

You can use the TChromium.OnFileDialog event. Set the Result parameter as TRUE and call callback.continue.

Read this for more info about that event :
https://magpcss.org/ceforum/apidocs3/pr ... ndler.html

There's an issue in CEF3 with these dialogs that may affect you :
https://bitbucket.org/chromiumembedded/ ... triggering

You can also use a URLRequest adding your file in the POST data. Read the code comments in URLRequest demo for more info.