I have VB6 application and need send file to https://somewhere.com/receive.php in same way as this html does:
<form enctype="multipart/form-data" name="formular" method="POST" action="https://somewhere.com/receive.php">
Login: <input type="text" name="login" value="scott">
Pass: <input type="text" name="pass" value="tiger">
File: <input name="userfile" type="file" size="40">
<input type="submit" value="Send File">
</form>
So question is how to do POST sending with two text fields (login, pass) and one file in multipart/form-data mode from VB6 app?
<form enctype="multipart/form-data" name="formular" method="POST" action="https://somewhere.com/receive.php">
Login: <input type="text" name="login" value="scott">
Pass: <input type="text" name="pass" value="tiger">
File: <input name="userfile" type="file" size="40">
<input type="submit" value="Send File">
</form>
So question is how to do POST sending with two text fields (login, pass) and one file in multipart/form-data mode from VB6 app?