# Upload() and Kirby 3

**URL:** <https://forum.getkirby.com/t/upload-and-kirby-3/13468>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 20, 2019, 1:56pm UTC](https://forum.getkirby.com/t/upload-and-kirby-3/13468 "2019-03-20T13:56:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eboehnisch](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/eboehnisch/32/6412_2.png) [@eboehnisch](https://forum.getkirby.com/u/eboehnisch)\
**Post date:** [March 20, 2019, 1:56pm UTC](https://forum.getkirby.com/t/upload-and-kirby-3/13468/1 "2019-03-20T13:56:28Z")

</div>

It took me a couple of days to convert my just-finished website to Kirby 3 so that we can start with a current installation. One last method that I was unable to switch over is the former `Upload()` function.

From the upgrade guide I learn that it’s now in `Kirby\Api` but from the documentation I can’t really find a way how this is supposed to work.

Any hints highly appreciated 🙂

Eric

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 20, 2019, 2:02pm UTC](https://forum.getkirby.com/t/upload-and-kirby-3/13468/2 "2019-03-20T14:02:08Z")

</div>

> [@Create, update file programmatically](https://forum.getkirby.com/t/create-update-file-programmatically/13410/5):
>
> I mean replace the original file by another one

You don’t have to go through the rest API.

---

<div class="post-metadata">

**Author:** ![eboehnisch](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/eboehnisch/32/6412_2.png) [@eboehnisch](https://forum.getkirby.com/u/eboehnisch)\
**Post date:** [March 20, 2019, 2:46pm UTC](https://forum.getkirby.com/t/upload-and-kirby-3/13468/3 "2019-03-20T14:46:37Z")

</div>

Thank you very much for the super-fast reply, @texnixe. The documentation wasn’t overly clear here and left me … slightly … puzzled. Solved & working!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 20, 2019, 2:48pm UTC](https://forum.getkirby.com/t/upload-and-kirby-3/13468/4 "2019-03-20T14:48:32Z")

</div>

Recipe is in the pipeline…
