# Strange things trying to add \`Downloads\`

**URL:** <https://discourse.julialang.org/t/strange-things-trying-to-add-downloads/115112>\
**Category:** General Usage\
**Tags:** question, download\
**Created:** [June 3, 2024, 10:16am UTC](https://discourse.julialang.org/t/strange-things-trying-to-add-downloads/115112 "2024-06-03T10:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [June 3, 2024, 10:16am UTC](https://discourse.julialang.org/t/strange-things-trying-to-add-downloads/115112/1 "2024-06-03T10:16:50Z")

</div>

I am having some “strange” behaviours, that I can’t reproduce in a consistent matter, while trying to install the Download module in a package, so I am asking if this is the suggested way to add download functionality in a package I am developing in `~/.julia/dev/Foo`:

1. Within the Foo pkg environment do `]add Downloads`
2. At the beginning of the package source do `import Downloads`
3. When needed, call the `Downloads.download(url,dest)` function

Right ?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [June 3, 2024, 10:31am UTC](https://discourse.julialang.org/t/strange-things-trying-to-add-downloads/115112/2 "2024-06-03T10:31:20Z")

</div>

Sounds good to me. What is strange?
