I'm sending a large file in blocks. When it gets to the client how do I write to the file? Do I open the file with a wrtie and then next time it gets called make sure it only appends?

I'm sending the file using a byte array, but when I writing to the file I'm using a string from the winsock.GetData.