Lucee Function Reference

fileseek()

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

Example

fileseek(any file,number pos):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
file any  Yes The file object.  
pos number  Yes The position in a file within a stream where the following read and write operation must occur.