Results 1 to 2 of 2

Thread: Exe File I/O

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Boulder, CO
    Posts
    1

    Post

    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

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    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
    [email protected]
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width