Uploading a textfile to webserver via VB5 + Winsock (No 3rd Party OCXs) 
Author Message
 Uploading a textfile to webserver via VB5 + Winsock (No 3rd Party OCXs)

I'm working on a Intra / Internet instant messenger and have the Intra part
working fine, the problem is Internet users without fixed IPs can't find
each other (Without emailing the ip, which is slow, or using ICQ etc).

I want to add a sub-program to mine that uploads the users current IP to a
webserver (Ie User1.ip) and then downloads the other users IP files
(User2.ip, User3.ip etc).

I have some code that will get the file from the website, but need the code
to send it.
Does anyone know of a website / have the code that will allow me to upload a

I would like to do this using just the Winsock and not any extra 3rd party
controls, why?, because they add bulk and cost money :)

Is there a better way to pass IP addresses without doing the above?

On another point does anyone know how to use the Winsock without the OCX?
The ActiveX distribution exe file that the installer adds is bigger than the
program files put together. My app uses UDP and may use TCP/IP but the
winsock.bas file I have has no helpful comments.

Dave Grey

Coming Soon... I-Mail. The Free (4 home use) Intranet instant messenger for

Sat, 01 Dec 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. How to upload files without 3rd party components

2. Help uploading a binary file from vb to Webserver via HTTP

3. Winsock - 3rd Party Replacement???

4. VB5 error with 3rd party controls

5. Tying 3rd party script to VB5

6. Datei Upload per HTTP / File upload via HTTP

7. Uploading a file to the webserver gives an EXCEPTION

8. File upload from a vb.net client to a webserver

9. Upload a directory to a webserver

10. Upload folder to Webserver?

11. Help Correcting 3rd party Slacker Code

12. Interoperability Issue w/ 3rd Party Object


Powered by phpBB® Forum Software