Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

reading text file

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS6 loses application data  
Author Message
anonymous61

External


Since: Oct 10, 2003
Posts: 40



(Msg. 1) Posted: Thu Apr 22, 2004 12:24 am
Post subject: reading text file
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi There
I have written sample to code to read log file which is
similar to text file.
It displays all the lines of log file without any problem.

But is it possible if I want to display last 5 lines of
that particular log file or text file??

Thanx in advance...
Dave

 >> Stay informed about: reading text file 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Thu Apr 22, 2004 11:59 am
Post subject: Re: reading text file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Yes, it is possible. Everything is possible when it comes to coding, it is
just a matter of fact how to do it.

Anyway, this is not an IIS problem, more of a coding problem, and for the
best reply, you should ask this in a newsgroup related to the language you
are using.

--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a style='text-decoration: underline;' href="http://www.ilopia.com/" target="_blank">http://www.ilopia.com/</a>


"dave" <anonymous.DeleteThis@discussions.microsoft.com> wrote in message
news:287701c42821$c3669bd0$a501280a@phx.gbl...
 > Hi There
 > I have written sample to code to read log file which is
 > similar to text file.
 > It displays all the lines of log file without any problem.
 >
 > But is it possible if I want to display last 5 lines of
 > that particular log file or text file??
 >
 > Thanx in advance...
 > Dave<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: reading text file 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]