---
title: "FILEURL"
url: "https://help.formsfly.com/en/article/fileurl"
language: "en"
last_updated: "2024-11-01T15:48:11.766Z"
---

# FILEURL

Generates the web URL to the given file field (e.g. Media or Attachment field types).

* * *

### Syntax

`**FILEURL(fieldname)**`

### Example

```plaintext
FILEURL({{take_photo}})
```

### Notes

Useful for assignment into a Data Source image column or for providing direct download links in Connector outputs.

If used in a connector output, say a SQL connector, an example of the format might be: {( FILEURL({{take\_photo}}) )}, which could produce a SQL table entry of something like:

[https://secure.formsfly.com/Files/FormEntry/57824-d7309319-cfd6-4057-801f-b2180100a329241029155557858594.png](https://secure.formsfly.com/Files/FormEntry/57824-d7309319-cfd6-4057-801f-b2180100a329241029155557858594.png)

If the above link is valid, then pasting into a browser, would take you to the stored photo. Try clicking the one above.
