# FileReadBinary()

Reads an on-disk or in-memory binary file (such as an executable or image file) on the server, into a binary object

```
FileReadBinary( file=any );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| file | any | Yes | file path *Alias: source, filePath, path* |  |

# Examples

```cfml
binaryContent = fileReadBinary(expandPath('./image.jpg'));
```







# Categories

[Binary data](../../categories/binary.md), [File handling](../../categories/files.md)

# See Also

[Checksum](../../recipes/checksum.md)