Groups | Blog | Home
all groups > c# > june 2004 >

c# : Specific file format creation



Nicholas Paldino [.NET/C# MVP]
6/10/2004 4:01:50 PM
Mike,

It depends on what the character data is? Since the NNTP protocol
doesn't have a provision for transmitting binary information, so it has to
be converted into text. You have to take that text and convert it back into
bytes, which will then be in the correct content type.

Most likely, it is base64 encoded or uuencoded.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

Hi,

I have a NNTP client application. How is it possible to convert character
that I received within a "Content-Type:" into the specific file format
specified in the content type?
I tried to copy and paste the data I received, but it obviously did not work
:-)

Thanks
Mike

Mike
6/10/2004 9:47:01 PM

Hi,

I have a NNTP client application. How is it possible to convert =
character that I received within a "Content-Type:" into the specific =
file format specified in the content type?
I tried to copy and paste the data I received, but it obviously did not =
work :-)

Thanks
Mike
6/11/2004 3:39:35 PM

It hoped to resolve the issue. Thanks a lot!

Mike


"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> =
[quoted text, click to view]

It depends on what the character data is? Since the NNTP protocol
doesn't have a provision for transmitting binary information, so it =
has to
be converted into text. You have to take that text and convert it =
back into
bytes, which will then be in the correct content type.

Most likely, it is base64 encoded or uuencoded.

Hope this helps.

--=20
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

Hi,

I have a NNTP client application. How is it possible to convert =
character
that I received within a "Content-Type:" into the specific file format
specified in the content type?
I tried to copy and paste the data I received, but it obviously did =
not work
:-)

Thanks
AddThis Social Bookmark Button