# Delete video file after uploading

**URL:** <https://forum.ghost.org/t/delete-video-file-after-uploading/43961>\
**Category:** Using Ghost\
**Created:** [January 8, 2024, 6:24pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961 "2024-01-08T18:24:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![barnabynagy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/barnabynagy/32/28464_2.png) [@barnabynagy](https://forum.ghost.org/u/barnabynagy)\
**Post date:** [January 8, 2024, 6:24pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/1 "2024-01-08T18:24:50Z")

</div>

I added a video to a post. Then I deleted this video from the post. I just want to make sure delete this video from the server too. Or when deleting it from the post did it delete it from the server too?

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [January 8, 2024, 6:39pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/2 "2024-01-08T18:39:27Z")

</div>

No, files still stay on the server when you delete them from a post. See also here, for example:

> [@Delete images on posts](https://forum.ghost.org/t/delete-images-on-posts/2153):
>
> Hi there. I’ve noticed a not too good thing about images. When you create a blog and upload a picture on the post settings and then click delete image, it never actually deletes the image. It remains in the server. I think it’s more convinient to have it deleted it. Otherwise is extra space. I uploaded the same image 4 times after modifications, now I have 4 copies smile, I only need 1. Thank you

---

<div class="post-metadata">

**Author:** ![barnabynagy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/barnabynagy/32/28464_2.png) [@barnabynagy](https://forum.ghost.org/u/barnabynagy)\
**Post date:** [January 8, 2024, 10:14pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/3 "2024-01-08T22:14:00Z")

</div>

Ok, so is there a setting in ghost where I can set to automatically delete these unused files from the server? If not how where do I go to delete it?

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [January 9, 2024, 5:54am UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/4 "2024-01-09T05:54:56Z")

</div>

No, you can’t do it automatically. If you’re self-hosting you could SSH into your server and delete them manually. Since you’re on PikaPods…honestly, no idea, sorry 😬

---

<div class="post-metadata">

**Author:** ![barnabynagy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/barnabynagy/32/28464_2.png) [@barnabynagy](https://forum.ghost.org/u/barnabynagy)\
**Post date:** [January 9, 2024, 2:20pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/5 "2024-01-09T14:20:42Z")

</div>

That’s bad news… Really there should be a file manager built into ghost, like wordpress has.

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [January 9, 2024, 2:22pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/6 "2024-01-09T14:22:57Z")

</div>

It’s a frequently requested feature. Make sure to upvote the one I linked above, for example.

---

<div class="post-metadata">

**Author:** ![barnabynagy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/barnabynagy/32/28464_2.png) [@barnabynagy](https://forum.ghost.org/u/barnabynagy)\
**Post date:** [January 9, 2024, 2:44pm UTC](https://forum.ghost.org/t/delete-video-file-after-uploading/43961/7 "2024-01-09T14:44:58Z")

</div>

Ok, just upvoted. Would you mind helping with my email issue on the other thread, please?
