I've created a client/ server program and I'm not happy with some logic for the server.
What I'm doing is
Pulling it from the data base
adding it to an array ' to help check for error
Using the array to save to text file ' for preparation for sending
Reading it in binary
Sending the file a chunk at a time.
This is causing me some problems. I want to re-write the code because I feel that this is very inefficient way of doing things.
Is there an easier way of doing what I'm doing?