X
Xarky
Hi,
I am downloading a GIF file(as a mail attachement) with this file
format, Content-Transfer-Encoding: base64;
Now I am writing the downloaded data to a file with this technique:
streamWriter = new StreamWriter(@startupPath+"\\"+filename, false);
streamWriter.WriteLine(data);
I am not specifying any file Encoding. When I try to open the file
just created with Microsoft Photo Editor, the following error is
given: "Can't determine type.";
I have tried this technique with different file formats, but it worked
only for text-files.
Can someone give some help on how to solve this problem.
Thanks in Advance
I am downloading a GIF file(as a mail attachement) with this file
format, Content-Transfer-Encoding: base64;
Now I am writing the downloaded data to a file with this technique:
streamWriter = new StreamWriter(@startupPath+"\\"+filename, false);
streamWriter.WriteLine(data);
I am not specifying any file Encoding. When I try to open the file
just created with Microsoft Photo Editor, the following error is
given: "Can't determine type.";
I have tried this technique with different file formats, but it worked
only for text-files.
Can someone give some help on how to solve this problem.
Thanks in Advance