This will do the trick. I already try this, before posting the post, but without success.
System.IO.Stream body = request.InputStream;
System.IO.StreamReader reader = new System.IO.StreamReader(body);
char[] buffer = new char[reader.BaseStream.Length];
reader.Read(buffer, 0, (int)reader.BaseStream.Length); //this works
string s = reader.ReadToEnd(); //This doesn't work. Program hangs here.
Yes, that would be much better, but i can’t find any good ftp server. The one on code share (NETMF FTP Server) is not stable. It also doesn’t work with FileZilla.
This looks interesting. Is there any new version somewhere?