# Is that possible to set the download path for examples data

**URL:** <https://community.konduit.ai/t/is-that-possible-to-set-the-download-path-for-examples-data/237>\
**Category:** Uncategorized\
**Created:** [March 5, 2020, 8:25pm UTC](https://community.konduit.ai/t/is-that-possible-to-set-the-download-path-for-examples-data/237 "2020-03-05T20:25:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuauto](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@liuauto](https://community.konduit.ai/u/liuauto)\
**Post date:** [March 5, 2020, 8:25pm UTC](https://community.konduit.ai/t/is-that-possible-to-set-the-download-path-for-examples-data/237/1 "2020-03-05T20:25:09Z")

</div>

Hi, I am new to dl4j and recently trying to run the examples. I have a Linux box but with very limited space for home directory and the linux env requires proxy server to go outside the corporate internal network. Is that possible to set the directory of the data for example and also for the proxy?  
Thanks,  
Jie

---

<div class="post-metadata">

**Author:** ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)\
**Post date:** [March 5, 2020, 8:30pm UTC](https://community.konduit.ai/t/is-that-possible-to-set-the-download-path-for-examples-data/237/2 "2020-03-05T20:30:13Z")

</div>

Most examples use the [DownloaderUtility](https://github.com/eclipse/deeplearning4j-examples/blob/master/shared-utilities/src/main/java/org/deeplearning4j/examples/download/DownloaderUtility.java#L122-L123) class, that is part of the examples themselves. You can just change the target there.

As it is using just the same old tools that the JVM provides for HTTP connectivity, you can set the proxy the same way you would for other java projects. Using JVM command line arguments:

```auto
-Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800

```

For more details see:

> <https://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm>

---

<div class="post-metadata">

**Author:** ![liuauto](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@liuauto](https://community.konduit.ai/u/liuauto)\
**Post date:** [March 9, 2020, 3:17pm UTC](https://community.konduit.ai/t/is-that-possible-to-set-the-download-path-for-examples-data/237/3 "2020-03-09T15:17:53Z")

</div>

Thanks a lot! The proxy setting is very useful
