✅ Recieve less than transmitting in network stream
Hello there, I'm trying to implement a FTP server and I got troubles with the network stream
Whenever I transmit a 4669 file, I recieve only 3779 and it's sending 0 which as it says marks the end of the data.
The headers I sent indicate the file's size so I know exactly how much to expect and I got the conditions for it.
I have tried almost everything I could think of.
Here is the code for the server:
Here is the code of the client:
in both is an instace of Network stream created with the underlying socket of TcpClient.
I would appreciate any help.
Thank you.
3 Replies
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Still active
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.