 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Greg Guest
|
Posted: Sun Feb 05, 2006 12:27 am Post subject: HTTP upload example |
|
|
Hello,
Can anybody point me to a very simple file upload example using HTTP? I have searched the web for 2 days and have found nothing. I've tried Indy and ICS but couldn't get either to work. NMHTTP example that comes with Delphi4 only shows how to Post text but not a file. Please, no references to Delphi components later than D4.
Thank you,
Greg |
|
| Back to top |
|
 |
Francois PIETTE [ICS - Mi Guest
|
Posted: Sun Feb 05, 2006 11:00 am Post subject: Re: HTTP upload example |
|
|
| Quote: | Can anybody point me to a very simple file upload example using HTTP?
I have searched the web for 2 days and have found nothing.
I've tried Indy and ICS but couldn't get either to work.
NMHTTP example that comes with Delphi4 only shows how to Post text
but not a file. Please, no references to Delphi components later than D4.
|
You can use ICS with Delphi 4. No problem.
Sending a file basically not different than posting anything else. It's just
the same as posting data from a HTML form. It's just a matter of data
formatting. Data formatting depends on what you have at server side to
handle the file. Most of the time server script expect a file as a MIME
format.
Here are a few links which may help you in this quest:
http://marc.theaimsgroup.com/?l=twsocket&m=107624592026427&w=2
http://www.elists.org/pipermail/twsocket/2004-August/026903.html
http://marc.theaimsgroup.com/?l=twsocket&r=1&w=2
btw: ICS include a HTTP Post sample program. Have a look at it.
If you have more ICS question, use the support mailing list. See "support"
link at http://www.overbyte.be for details.
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
francois.piette (AT) overbyte (DOT) be
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|