
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