Select File by Webbrowser

Asked

Viewed 197 times

1

I have an HTML file with the following code:

<form method="post" action="recebe_upload.php" enctype="multipart/form-data">
 <input type="file" name="arquivo" />
 <input type="submit" value="Enviar" />
</form>

By clicking the button, it opens me a dialog box to select a file, wanted to do this in a TWebBrowser of Delphi, informing the file directory on a TEdit for the file to be added without the need to click the button to select the file by Dialog.

  • 1

    Supposedly, for the maneuver that you want to do, it seems to me that you need to send an e-mail with attachment, right ? Why don’t you set up an email sending structure within the application (Indy) instead of trying to use the page as a tool ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.