can streamreader specify a format?

  • Thread starter Thread starter Robert Megee
  • Start date Start date
R

Robert Megee

First let me say that this newsgroup rocks! The ideas and information
here have helped me to no end.

Now for my question. I'm opening a file that is nfs exported from
an OpenVMS system. On that system the file is a text file. However
when I open it on my dotnet server, it isn't. I know that ftp can be
set to match the format for a text file to make it readible on
different platforms. Does streamreader have some way to
format/convert/filter the file so that it will read correctly?

thanks,

Robert Megee
 
Robert Megee said:
First let me say that this newsgroup rocks! The ideas and information
here have helped me to no end.

Now for my question. I'm opening a file that is nfs exported from
an OpenVMS system. On that system the file is a text file. However
when I open it on my dotnet server, it isn't. I know that ftp can be
set to match the format for a text file to make it readible on
different platforms. Does streamreader have some way to
format/convert/filter the file so that it will read correctly?

You could well be looking for Encoding, but it really depends on how
the text file is stored. What do you get back if you open it using the
ASCII encoding, for example?
 
You could well be looking for Encoding, but it really depends on how
the text file is stored. What do you get back if you open it using the
ASCII encoding, for example?
I'll check it out and let you know.
thanks.

Robert
 
Back
Top