# HTMLViewer.LoadPage: where to store relatives files ?

**URL:** <https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407>\
**Category:** General\
**Created:** [September 27, 2019, 7:12pm UTC](https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407 "2019-09-27T19:12:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [September 27, 2019, 7:12pm UTC](https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407/1 "2019-09-27T19:12:04Z")

</div>

Hi folks,

I want to store some web pages, to play them back locally without internet access.  
I can load an URL, then store the html text locally.  
then I know how to process src and hrefs to store the relatives files, pictures inside this html page.

but if I want to read the html page back, without internet, where do I store the other relatives files ?  
in the same folder as the main html page ? or ?

thanks.

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [September 27, 2019, 7:15pm UTC](https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407/2 "2019-09-27T19:15:31Z")

</div>

What browsers do to store web pages is to modify each src in the page source so it points to a new Files folder.

You would have to do the same.

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [September 27, 2019, 7:32pm UTC](https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407/3 "2019-09-27T19:32:34Z")

</div>

thanks Michel, this works.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:06pm UTC](https://forum.xojo.com/t/htmlviewer-loadpage-where-to-store-relatives-files/50407/4 "2021-04-29T16:06:14Z")

</div>


