fileSeek

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

fileSeek(file, position) → returns void

Argument Reference for the fileSeek function

file

Required: Yes
No Help Available

position

Required: Yes
No Help Available

Examples sample code invoking the fileSeek function


Script Syntax

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

Fork me on GitHub