# \#filename

**URL:** https://community.gravityforms.com/tag/filename/2462.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [How to display uploaded filename instead of full path?](https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451)

<div class="topic-metadata">

**Author:** [@ducmans](https://community.gravityforms.com/u/ducmans)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 10:40am UTC](https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451 "2023-07-01T10:40:55Z")

</div>

When sending an ‘{all\_fields}’ mail message, an uploaded photo is displayed as: ‘MyUploadedPhoto.jpg’ However, when sending a mail message where the actual upload field is listed, for instance '{Uploaded photo:78}, t…

---

## [Merge tag to display just the file name of uploaded file](https://community.gravityforms.com/t/merge-tag-to-display-just-the-file-name-of-uploaded-file/15221)

<div class="topic-metadata">

**Author:** [@user5f846f3e3093b534](https://community.gravityforms.com/u/user5f846f3e3093b534)\
**Replies:** 1\
**Last updated:** [June 1, 2023, 2:56pm UTC](https://community.gravityforms.com/t/merge-tag-to-display-just-the-file-name-of-uploaded-file/15221 "2023-06-01T14:56:28Z")

</div>

I’ve searched but haven’t found the answer to my exact question. I have a hidden field that I would like to hold just the file name of an uploaded file. Using just {:73} works to get the whole URL, but I need to prepend…

---

## [How to get the files names of uploaded files in gform\_validation \[RESOLVED\]](https://community.gravityforms.com/t/how-to-get-the-files-names-of-uploaded-files-in-gform-validation-resolved/15151)

<div class="topic-metadata">

**Author:** [@nicklas](https://community.gravityforms.com/u/nicklas)\
**Replies:** 4\
**Last updated:** [May 22, 2023, 9:21am UTC](https://community.gravityforms.com/t/how-to-get-the-files-names-of-uploaded-files-in-gform-validation-resolved/15151 "2023-05-22T09:21:19Z")

</div>

When validating the form (in gform\_validation), all the uploaded files are in the /tmp folder. At what stage in the process are they moved to the 2023/05 folder? Is there a way to figure out where the temp files will be …
