# Upload a single file in file picker

**URL:** <https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368>\
**Category:** Ask for Help\
**Tags:** components\
**Created:** [September 14, 2024, 3:51am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368 "2024-09-14T03:51:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Hui](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Stephen\_Hui](https://community.glideapps.com/u/Stephen_Hui)\
**Post date:** [September 14, 2024, 3:51am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368/1 "2024-09-14T03:51:29Z")

</div>

Hi, can the user be limited from uploading only a single file?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2024, 4:16am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368/2 "2024-09-14T04:16:13Z")

</div>

If you have the ability to point it to another column, make that column a URL, then the file picker won’t allow them to upload multiple files.

---

<div class="post-metadata">

**Author:** ![Sekayi\_Liburd](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sekayi_liburd/32/77608_2.png) [@Sekayi\_Liburd](https://community.glideapps.com/u/Sekayi_Liburd)\
**Post date:** [September 14, 2024, 5:33am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368/3 "2024-09-14T05:33:41Z")

</div>

this thread may also be useful to you:

> [@sunrise\_over\_mountains Enforced Image Picker Upload Limit](https://community.glideapps.com/t/enforced-image-picker-upload-limit/75571):
>
> Limiting the number of images uploaded at an early stage is a necessary measure to prevent exceeding the allowed storage limits in your application. As I have posted previously, this approach is easier when controlling the Submit button on your form. In the code below, you only need to modify the :nth-child(4) part of the code to set the desired upload limit. Since the “Multiple Image Picker” component does not have an option to specify a class name (limitToUpload), you will need to add a cont…

> [@sunrise\_over\_mountains Enforced Image Picker Upload Limit](https://community.glideapps.com/t/enforced-image-picker-upload-limit/75571/1):
>
> If your component is a “ **Multiple File Picker** ”, simply change the selector from [data-testid=“picker-image”] to `[data-testid="picker-file"]`.

---

<div class="post-metadata">

**Author:** ![Stephen\_Hui](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Stephen\_Hui](https://community.glideapps.com/u/Stephen_Hui)\
**Post date:** [September 14, 2024, 11:58am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368/4 "2024-09-14T11:58:09Z")

</div>

Thanks guys!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [September 21, 2024, 11:58am UTC](https://community.glideapps.com/t/upload-a-single-file-in-file-picker/76368/5 "2024-09-21T11:58:58Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
