Uploading File with HTTP POST useing the VB5.0(sp3) internet transfer Control 
Author Message
 Uploading File with HTTP POST useing the VB5.0(sp3) internet transfer Control

Dear brains,

Can anyone help me to upload a file used the  internet transffer contol
vb5.0(sp3)

I want to a file  upload to  web server database

how to do it?

help me .

ex>
db layout
table name             tbl_picture
                             fileName       varchar(128)
                             data             long raw

c:\img\mypicture.jpg
i want to save mypicture.jpg file

vb call
function upload() as boolean
....

inet1.excute," http://www.*-*-*.com/ ;,"POST',??????,"content-type:m
ultipart/form-data"
...
|
end funciton
|

|
asp
|
    aaa.htm  <== file upload asp                                  +---+----+
    ....
|            |
        insert into tbl_picture(filename,data) values(f.filename,b.filename)
    ....

 how to transfer the filename and binaryfile(image)

            tbl_picture

            fileName                            data
            c:\img\mypicture.jpg
?????????????????????????????????????mypicture jpg file

sorry my english poor

but , you can know my object.

help me. please

Thanks           Pyo_kil_seop



Sat, 02 Feb 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. File upload using Internet Transfer Control and HTTP PUT

2. How to upload a file by Internet Transfer Control in HTTP protocol

3. Internet Transfer Control - Upload File With http

4. File upload using Internet Transfer Control and HTTP PUT

5. HTTP file upload using Internet transfer control

6. Internet Transfer Control and HTTP Uploads

7. Internet transfer control with HTTP Post

8. HTTP POST with Internet Transfer Control??

9. File Upload Using HTTP Post w/INET Control

10. Internet Transfer control (VB5 SP3) - crashes app on exit

11. VB5 (SP3): Internet Transfer Control

12. FTP working with VB5 SP3 Internet Transfer Control

 

 
Powered by phpBB® Forum Software