|
-
Nov 24th, 2009, 11:52 PM
#1
Thread Starter
Lively Member
[RESOLVED] File transfer problems
I'm transferring a file from client to server.
On the client I am reading 10,000 bytes at a time and sending the 10,000 bytes using a binary writer to the stream.
On the server side I am reading these and writing it to a newly created file.
Now after lots of trial and error I have reached a 'semi working' stage. What happens is I have made a message box appear on the server side showing me the total amount of received bytes out of the total incoming file size. This message box appears every 10,000 bytes received. It appears to work flawless with the message box, except when I disable the message box from appearing it seems to not work. By not working it seems to not receive all the incoming data.
So the delay the message box is causing seems to be making it work. I am just unsure why.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|