# Hoe maak je een bericht met een bestand dat handmatig is geüpload naar de webserver of S3-bucket?

**URL:** https://meta.discourse.org/t/how-to-make-a-post-using-a-file-that-was-manually-uploaded-to-the-web-server-or-s3-bucket/320658
**Category:** Support
**Created:** [8 augustus 2024 om 04:06 UTC](https://meta.discourse.org/t/how-to-make-a-post-using-a-file-that-was-manually-uploaded-to-the-web-server-or-s3-bucket/320658 "2024-08-08T04:06:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wal](https://avatars.discourse-cdn.com/v4/letter/w/d6d6ee/32.png) [@wal](https://meta.discourse.org/u/wal)
#### Post date: [8 augustus 2024 om 04:06 UTC](https://meta.discourse.org/t/how-to-make-a-post-using-a-file-that-was-manually-uploaded-to-the-web-server-or-s3-bucket/320658/1 "2024-08-08T04:06:55Z")

</div>

I have enabled an S3 bucket for user uploads as per [Set up file and image uploads to S3 - #264 by wal](https://meta.discourse.org/t/set-up-file-and-image-uploads-to-s3/7229/264) and I have also enabled AWS Cloudfront CDN.

On my Discourse forum, I have configured the user upload size limit for images and files to be about 8MB.

However, as the server admin, I would like to be able to upload larger files myself, to share with users, and to embed in posts. I would rather not have to change the Admin Settings for max upload size from within Discourse. Rather, I would prefer if I could simply upload the file to my S3 bucket and copy/paste the file URI directly into the post’s markdown embed text and have it “just work”

Is there a way to do this? I have already uploaded my file e.g. `s3://discourse-bucket/manual-uploads/funny-video.webm` to the S3 bucket. However, I cannot figure out how to generate the text string to include in a post that will work to embed it.

For example, another small video that is already uploaded is embedded in a post like this; `![small-funny-video|video](upload://AbCdEf132456.mp4)`. But of course, if I just copy/paste a string like this `![large-funny-video|video](upload://funny-video.webm)` it does not work.

Is there some trick to be able to do this?

---

<div class="post-metadata">

### Author: ![pangbo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pangbo/32/538562_2.png) [@pangbo](https://meta.discourse.org/u/pangbo)
#### Post date: [8 augustus 2024 om 09:45 UTC](https://meta.discourse.org/t/how-to-make-a-post-using-a-file-that-was-manually-uploaded-to-the-web-server-or-s3-bucket/320658/2 "2024-08-08T09:45:44Z")

</div>

`![small-funny-video|video](upload://AbCdEf132456.mp4)` is a markdown syntax where the URL can be placed inside the parentheses. You don’t need to necessarily use a link that starts with `upload://`.

> **[Basic Syntax | Markdown Guide](https://www.markdownguide.org/basic-syntax/#links)**
>
> The Markdown elements outlined in the original design document.

For your situation, you can first generate a direct link to the file in your S3 bucket, for example, `https://discourse-bucket.example.com/manual-uploads/funny-video.webm`, and then in the editor, you would fill in `![large-funny-video|video](https://discourse-bucket.example.com/manual-uploads/funny-video.webm)`.
