Hello everyone, this is my first post. I am from Argentina, so I'll try to do the best out of my english.
I need help with the following issue. I receive a file from a client application to a server application using NetworkStream. As I receive the file, I save it temporarily to disc in a dile called "temp". The recepcion is succesfull, every byte is receive perfectly.
The protocol I used to send the file is (without "): "FileName|FileSize|FileContent"
Now I need to make up the final file, the original. I can create a new file using FileStream with the name receive in the temp file, as well as I can read its size, but I don't know how to write only the "temp" FileContent in the new file. Is there any simple way to exclude the FileName and FileSize?