Help Centre › Building Processes
Get the size of a remote file in bytes.
Add it to a process
In the process designer, open the Add step tab. Find Get file size under Network › Manage, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Connection name | Yes | Connection name |
| Remote file path | Yes | Remote file path |
| Variable | Yes | Variable to store size Default: file_size. |
What it gives back
{file_size}– File size in bytes
See all Network steps.
Errors
| Error | Description |
|---|---|
| Connection not found | No connection exists with the specified name |
| File not found | The remote file does not exist |
Tips
- Returns the size in bytes – divide by 1024 for KB, by 1048576 for MB
- Use to check file sizes before downloading large files