how to upload a file using HTTP?

How to upload a file to a web site using HTTP protocol?
hlcuiAsked:
Who is Participating?
 
EpsylonConnect With a Mentor Commented:
I did some things like this half a year ago. The source below is a part of a jpeg upload system using the biolife database. The problem is that I never finished the server part. I use a dirty trick there.

<form ENCTYPE="multipart/form-data" action="/cgi-bin/project1.exe/insertimage?record=<#SpeciesNo>" method="POST">
    <p><input type="file" size="46" name="file">  <input type="submit" name="button" value="Submit"></p>
</form>


Find more info in this zip:

http://www3.ewebcity.com/joep/webserver.zip
0
 
bruintjeCommented:
Hi hlcui,

maybe with the help of the fpiette components?

http://www.rtfm.be/fpiette/indexuk.htm

these components are postcardware with samples and source

HTH:O)Bruintje
0
 
EpsylonCommented:
Btw: it's episode 4 in the zip.....
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kubeerjaCommented:
I made a component to do that from delphi you just use it with a web module and it will handle the multipart/form-data ENCTYPE.
If you want send me your mail and I will send it to u with some examples.
0
 
EpsylonCommented:
Can you send them to epsylon3@hotmail.com
0
 
bryan7Commented:
could I have it too please ?
brian7@teleline.es
0
 
bryan7Commented:
could I have it too please ?
brian7@teleline.es or
Aerisdata7@hotmail.com
0
 
kubeerjaCommented:
Epsylon and bryan7
I sent you the component.
0
 
EpsylonCommented:
Kubeerja, I didn't receive anything. I guess something has gone wrong. Maybe a misspelled address or the attachment is to big..?
0
 
EpsylonCommented:
0
All Courses

From novice to tech pro — start learning today.