Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Send file on server.

Post Reply
igor666
Posts: 64
Joined: Fri Feb 08, 2019 1:25 pm

Send file on server.

Post by igor666 »

Please help. How to send file on server with CEF4Delphi without open file dialog? Thanks.
User avatar
salvadordf
Posts: 4040
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Send file on server.

Post 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.
Post Reply