TextStream Line Truncation

S

Steve Bright

In an ASP page, I am using the FileSystemObject OpenTextFile method to
initiate a TextStream object.

In some files I have long lines and it appears that these are being
truncated to 2048 characters. This truncation occurs whether I use the
ReadLine method or use a loop of Read(1) while !AtEndOfLine. After the
supposed line end the next read continues on the same real line where it
inserted the false EndOfLine.

I was wondering if there way to stop this truncation or in the very least to
know when the truncation has occurred so that I can concatenate subsequents
reads.

Thanks in advance!

Steve Bright
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top