# FileAppend()

appends the entire content to the specified file.

```
FileAppend( file=any, data=any, charset=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| file | any | Yes | file path *Alias: filePath* |  |
| data | any | Yes | data to append to the file |  |
| charset | string | No | The character encoding in which the file contents is encoded. |  |

# Examples

```cfml
fileAppend("path/to/file", "new content to append")

```







# Categories

[File handling](../../categories/files.md)