Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I send a file using the winsock control?

Status
Not open for further replies.

venom3249

Programmer
Jul 18, 2001
43
US
I've heard that you can send a file by opening it as binary and reading in the file into a string. From there you send the string using winsock1.send strMyFile.

What's the right way to do this? What if the file is huge?

Any1 have any ideas? TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top