I have a .NET web service that returns a file in the form of an array of bytes. I'm wanting to write that into a file on the client's machine, but i've been unable to do so. I mean, I can print the array of bytes to a file, but its not converted back to the format it was originally in. The following is my service code:
Code:
[WebMethod]
public byte[] DownloadFile(string FName)