fileSeek

Shifts the file pointer to the given position. The file must be opened with seekable option

fileSeek(file, position) → returns void

Argument Reference

file any
Required

The file object

position numeric
Required

The position in the file within a stream where the following read and write operation must occur.

Examples
Sample code invoking the fileSeek function

<cfscript> 
 NewFile = fileOpen(expandPath(".") & "	est.txt","write","",true); 
             fileSeek(#NewFile#,0);  
 </cfscript>   

Fork me on GitHub