471,605 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

internetreadfile newline read

Is there a way to make the internetreadfile function read records that
are terminated by newlines instead of reading into a buffer. It would
make it much easier for me to process.

I suppose I could read the whole file and split into an arry, but how
do I split on a CRLF ?

Mark

Dec 3 '05 #1
1 2211
A little more info might be helpful as to why.

I'm having read UNIX files from a C# program and check if a certain
pattern appears in the files. Once I find a record with the pattern, I
can quit looking at that file because I know I need to FTP it down for
the user. Some of these files are in the tens/hundreds of megs, so I
dont want to ftp it down unless I know I need to.

I need to present them with a list of the possible candidate files, so
I'm using findfirstfile/findnextfile to get the list of possible files,
then I need to look for this pattern in the file.

Mark

Dec 3 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

29 posts views Thread by runningdog | last post: by
3 posts views Thread by Cheri Reed | last post: by
5 posts views Thread by Claud Balls | last post: by
7 posts views Thread by Alex Nordhus | last post: by
3 posts views Thread by utab | last post: by
1 post views Thread by linq936 | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.