>I don't have a ready one (there is I know but where:), I'll find or write one later.
>As per VFP's FileToStr() information is not correct as I read it. It can handle binary files perfectly well (under the covers just does binary reading, not text).
>The problem with .Net you're trying to send back a string. A string is not compatible with binary data as I observed and I might be wrong (to say in other terms -if I can:)- serializing a binary data just as string without any encoding like base64 would lead to corruption).
Yes, this is exactly what I observed.
For now, I will keep those two functions.