PDA

Click to See Complete Forum and Search --> : Exe File I/O


stevend
Nov 14th, 1999, 07:38 AM
I want to transfer files Via TCP/IP. I can do the winsock coding, but how can u just open up and old EXE (or text) file, read from it, then write to it on the other machine? I can do a regular sequential file I/O, but I'm sure that won't work. Please advise, thanks.



------------------
David Stevenson
Eclipse Systems Programmmer
www.eclipseweb.net

Aaron Young
Nov 14th, 1999, 08:50 AM
Use the Open.. For Binary Access Read As.. Statement to Read the Binary Data in for Transmission, then use the Open.. For Binary Access Write As.. Statement to Output the File at the Other End of your Connection.


------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net