Description

Skips over the data before a read or write operation of an on-disk or in-memory file on the server.

Category

System functions

Function syntax

FileSkipBytes(fileObj, noOfBytesToSkip)

See Also

FileCopyFileDeleteFileExistsFileMoveFileSetAccessModeFileSetAttributeFileSeek

History

ColdFusion 9: Added this function.

Parameters

Parameter

Description

fileobj

The file object.

noOfBytesToSkip

The number of bytes that must be skipped before the next file operation.

Usage

For noOfBytesToSkip, if you specify a value greater than the actual number of bytes, all bytes are skipped.

Example

See the Example section for the function FileSeek.

 

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy