|
-
Apr 16th, 2002, 11:48 AM
#1
Thread Starter
Hyperactive Member
How to send a file in winsock (http way)
I mean, if i have a winsock on a form
and i set it to listen on port 80
then i have a file in App.Path & "\pic.jpg"
How can i do it so that when anyone connects to my app
(anyone = Explorer or Netscape)
then will get the picture displayed..how to do that??
I know how to send text files (eg: 'txt *html *.htm ...)
But I cannot manage to send files like JPG GIF ZIP and so..
How cani do that?
Please..I need this...so badly...
Thanks in advance!
***************
Please use [highlight=vb] ..your code.. [/highlight] when posting code!
When you have received the working answer to your question,
please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.
Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...
Please Answer All Questions With Working Code Examples...
My Unfinished Projects and My working Programs
***************
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|