Hi,

I am trying to write a web-agent.  So far I have automated the agent to go 
to a URL and do a HTTP get on a text file, which is thus stored in 
cfhttp.filecontent.

The text file contains a list, seperated on a line eg :
string1
string2
string3
...
string40
....
string2000

etc.

I am wanting to take 30 lines at a time, no more no less..and read them in 
and process them seperately..then read the NEXT 30 lines etc, etc...

NB..I don't want to lose the formating (ie..want to keep them with a char 
return/linefeed between them..as the nextprocessing steps requires them to 
be kept on seperate lines...

...The next step will take these 30 lines in to a HTTP post..they will be fed 
in to a multiline text box (hence the need to keep them on seperate lines).

Hope this makes sense.

It would be great if you could help me out..give me some sample code..names 
of functions taht I will need to do this..or all of the above..thanks :-)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to