Search results

  1. D

    How to send file to webpage from VB6

    After sniffing http traffic mystery solved! There shouldn't be any spaces after filename="xxx" string, also binary transfer encoding is not needed. So here is working function: Function UploadXML(strFileName As String, Optional strUserName As String, Optional strPassword As String) As String...
  2. D

    How to send file to webpage from VB6

    So far I read some documentation and samples, and made these functions to handle upload. Form data "login" and "pass" are passed to webpage, but I'm still unable to pass file. I'm not sure about that conversion of strBody to byte array before posting ? And also i'm not sure about...
  3. D

    How to send file to webpage from VB6

    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...
Back
Top Bottom