And CF9 added fileSeek - if you need to start from some other position than 0.
On Wed, Mar 7, 2012 at 6:36 AM, Andrew Scott <[email protected]> wrote: > > If using CF8+ you can also do FileRead(fileobj, no of character/bytes to > read) > > > -- > Regards, > Andrew Scott > WebSite: http://www.andyscott.id.au/ > Google+: http://plus.google.com/108193156965451149543 > > > On Wed, Mar 7, 2012 at 10:56 PM, Chad Baloga <[email protected]> wrote: > >> >> Does anyone know how I can read a certain byte range of a file. I am >> basically trying to read 1-500 bytes, 501-1000 bytes, etc then output each >> chunk with cfcontent. I have the cfheader code written for the content >> length but just need to figure out how to read a certain range of the file. >> Thanks >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

