BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTTP upload example

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Greg
Guest





PostPosted: Sun Feb 05, 2006 12:27 am    Post subject: HTTP upload example Reply with quote



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





PostPosted: Sun Feb 05, 2006 11:00 am    Post subject: Re: HTTP upload example Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.