Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

how to upload a file using HTTP?

How to upload a file to a web site using HTTP protocol?
0
hlcui
Asked:
hlcui
  • 5
  • 2
  • 2
  • +1
1 Solution
 
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:
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
 
EpsylonCommented:
Btw: it's episode 4 in the zip.....
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now