# \[New Feature\] Uploading files to the root directory

**URL:** <https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360>\
**Category:** New features\
**Created:** [September 26, 2017, 6:48pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360 "2017-09-26T18:48:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [September 26, 2017, 6:48pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/1 "2017-09-26T18:48:35Z")

</div>

Hello,

This feature has been asked for a few times in different contexts. We added a way to upload a file and serve it as

`yourdomain.com/filename`

This can be useful to prove your ownership of your domain for some services (mobile notifications, etc.). You can also use this feature to generate your own sitemap.xml file. If you want to use this that way, you should uncheck the box that generates the sitemap automatically and upload an xml file.

You can upload the files in the Settings Tab, SEO & Metatags section. Note that this feature, as other SEO tools, is accessible on apps on a Personal plan and above.

 ![06 PM](https://us1.discourse-cdn.com/bubble/original/3X/d/d/dd3eae4b7976697bfb08b296f9a97325ba673546.png)

---

<div class="post-metadata">

**Author:** ![jarrad](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jarrad](https://forum.bubble.io/u/jarrad)\
**Post date:** [September 26, 2017, 6:51pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/2 "2017-09-26T18:51:33Z")

</div>

Thank You!!!

---

<div class="post-metadata">

**Author:** ![scriptschool](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@scriptschool](https://forum.bubble.io/u/scriptschool)\
**Post date:** [September 26, 2017, 7:36pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/3 "2017-09-26T19:36:42Z")

</div>

Hooray!!!

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [September 26, 2017, 7:41pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/4 "2017-09-26T19:41:07Z")

</div>

Great thank you

---

<div class="post-metadata">

**Author:** ![florent.bocquelet](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/florent.bocquelet/32/11409_2.png) [@florent.bocquelet](https://forum.bubble.io/u/florent.bocquelet)\
**Post date:** [September 27, 2017, 8:28am UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/5 "2017-09-27T08:28:10Z")

</div>

Thaaanks !!! You made my day 🙂

---

<div class="post-metadata">

**Author:** ![scottb50](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scottb50/32/9334_2.png) [@scottb50](https://forum.bubble.io/u/scottb50)\
**Post date:** [September 27, 2017, 3:35pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/6 "2017-09-27T15:35:54Z")

</div>

Thanks Bubble geniuses!

What other possible ways do you see this being used?

---

<div class="post-metadata">

**Author:** ![funwtp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/funwtp/32/27279_2.png) [@funwtp](https://forum.bubble.io/u/funwtp)\
**Post date:** [September 27, 2017, 5:05pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/7 "2017-09-27T17:05:23Z")

</div>

Good question!

@emmanuel could we have some sort of manual on in what ways this may be used? It seems that such feature makes off-line app possible (maybe a silly question, apologies in advance).

Thank you!

---

<div class="post-metadata">

**Author:** ![mente12](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mente12/32/30410_2.png) [@mente12](https://forum.bubble.io/u/mente12)\
**Post date:** [October 9, 2017, 6:04pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/8 "2017-10-09T18:04:02Z")

</div>

Is there a way to add the file to a subfolder like /folder/test001.txt ?

It let me enter: /folder/test001.txt as file name but

…com/version-test/folder/test001.txt returns a 404 error.

file isOK at [//s3.amazonaws.com/appforest\_uf/.../Test%20001.txt](https://s3.amazonaws.com/appforest_uf/.../Test%20001.txt)

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [October 9, 2017, 6:15pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/9 "2017-10-09T18:15:05Z")

</div>

This isn’t currently supported.

---

<div class="post-metadata">

**Author:** ![mente12](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mente12/32/30410_2.png) [@mente12](https://forum.bubble.io/u/mente12)\
**Post date:** [October 9, 2017, 6:27pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/10 "2017-10-09T18:27:33Z")

</div>

Thanks for the prompt answer.

---

<div class="post-metadata">

**Author:** ![t\_bubble](https://avatars.discourse-cdn.com/v4/letter/t/ccd318/32.png) [@t\_bubble](https://forum.bubble.io/u/t_bubble)\
**Post date:** [November 6, 2017, 2:23pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/11 "2017-11-06T14:23:14Z")

</div>

Can we upload an HTML file here, referencing external JS and CSS (e.g. )

Would the html page be able to link to this external file?

I tested, but it does not seem to work. I see plain text without the css styles.

---

<div class="post-metadata">

**Author:** ![carl](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/carl/32/18275_2.png) [@carl](https://forum.bubble.io/u/carl)\
**Post date:** [January 21, 2018, 7:44am UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/12 "2018-01-21T07:44:24Z")

</div>

Hi,

My problem is that the api address is different ([https://mydomain.bubbleapps.io/version-test/api/1.1/wf/bcn/](https://mydomain.bubbleapps.io/version-test/api/1.1/wf/bcn/)) from the root directory upload ([https://mydomain.xzy/filename](https://mydomain.xzy/filename)).

The verification file is asking to be placed at the api address above. I guess then there is no work around for this case.

---

<div class="post-metadata">

**Author:** ![scriptschool](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@scriptschool](https://forum.bubble.io/u/scriptschool)\
**Post date:** [May 4, 2018, 1:50pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/13 "2018-05-04T13:50:47Z")

</div>

Can you please enable a workflow --\> upload file to root directory so that we upload files using workflows (instead of through the admin panel).

This allows many possibilities.

Thanks,

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [August 28, 2018, 9:56pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/14 "2018-08-28T21:56:56Z")

</div>

Hello,

We just pushed an improvement to this feature that lets you have a file name that contains a path. This will give you more flexibility if you need to host some files in some “folders”. For instance, if you want to use Apple Pay, you could something like

 ![01%20PM](https://us1.discourse-cdn.com/bubble/original/3X/5/8/58a2ff788988d4210f5cc7f10cffc9baa66fd0d5.png)

---

<div class="post-metadata">

**Author:** ![seanhoots](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/seanhoots/32/12224_2.png) [@seanhoots](https://forum.bubble.io/u/seanhoots)\
**Post date:** [August 29, 2018, 12:39am UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/15 "2018-08-29T00:39:51Z")

</div>

Thanks @emmanuel for enabling this feature making it possible to accept Apple Pay on bubble sites.

---

<div class="post-metadata">

**Author:** ![cellis1014](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cellis1014](https://forum.bubble.io/u/cellis1014)\
**Post date:** [August 29, 2018, 11:30am UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/16 "2018-08-29T11:30:32Z")

</div>

When it says ‘version-specific’ , I guess this means I must add the File name and re-upload the file again whenever I upgrade the Bubble version?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [August 29, 2018, 3:00pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/17 "2018-08-29T15:00:47Z")

</div>

No, that means you should deploy to live for the URL not to have ‘version-test’ in it.

---

<div class="post-metadata">

**Author:** ![scriptschool](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@scriptschool](https://forum.bubble.io/u/scriptschool)\
**Post date:** [May 6, 2019, 8:18pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/19 "2019-05-06T20:18:12Z")

</div>

Hey guys - still need this.

1. Any chance you will push it?

2. Is there API access to the root folder?

Thanks,  
P

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [May 6, 2019, 9:34pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/20 "2019-05-06T21:34:56Z")

</div>

1. We don’t have a timeline on this, but I’ll put this on the backlog.
2. Not currently, no (we don’t have an API access to modify the app object.

---

<div class="post-metadata">

**Author:** ![muneer.hameer](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/muneer.hameer/32/33494_2.png) [@muneer.hameer](https://forum.bubble.io/u/muneer.hameer)\
**Post date:** [May 1, 2020, 11:23pm UTC](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360/21 "2020-05-01T23:23:03Z")

</div>

Any update on workflow or api access to root directory?

[Next page](https://forum.bubble.io/t/new-feature-uploading-files-to-the-root-directory/18360.md?page=2)
