# Looking for help downloading from editor with interactive sketch

**URL:** <https://discourse.processing.org/t/looking-for-help-downloading-from-editor-with-interactive-sketch/20669>\
**Category:** Libraries\
**Created:** [May 9, 2020, 2:54pm UTC](https://discourse.processing.org/t/looking-for-help-downloading-from-editor-with-interactive-sketch/20669 "2020-05-09T14:54:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)\
**Post date:** [May 9, 2020, 10:03pm UTC](https://discourse.processing.org/t/looking-for-help-downloading-from-editor-with-interactive-sketch/20669/3 "2020-05-09T22:03:46Z")

</div>

This has to do with how `loadImage` and `loadSound` are implemented. The functions use something called Fetch API and have that configured in such a way that downloading of files isn’t allowed locally. Believe it or not, it’s related to security.

There’s not much you can do about it really (except patching p5.js). Running a web server (locally or elsewhere) as you did is the way to go.

If you’re interested in the technical details, read up on [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) and [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).

---

_[View the full topic](https://discourse.processing.org/t/looking-for-help-downloading-from-editor-with-interactive-sketch/20669)._
