# OpenZiti File Share

**URL:** <https://openziti.discourse.group/t/openziti-file-share/943>\
**Category:** Ziti Overlay\
**Created:** [December 18, 2022, 4:57am UTC](https://openziti.discourse.group/t/openziti-file-share/943 "2022-12-18T04:57:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [December 18, 2022, 4:57am UTC](https://openziti.discourse.group/t/openziti-file-share/943/1 "2022-12-18T04:57:37Z")

</div>

I had this in mind a while ago… while I was still learning what ziti is all about.

One of the detractors was that ziti is focused on the network layer… rather than a file server application… where by that time it all became a bit too hard and put it to the side

Now that I understand more… I realise that its probably not too hard to actually get 85% of a solution… especially if its a static file share… as all you need is a go http server to present the folder structure.

I was looking around for different libraries… and came across this one… so I thought to share.

All you would have to do is to cut and paste the code on how to convert a go http server into a zitified go http server demos … of which is already covered in the demos

> **[GitHub - philippgille/serve: serve starts a simple temporary static file...](https://github.com/philippgille/serve)**
>
> serve starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues - GitHub - philippgille/serve: serve starts a simple temporary stati...

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [December 18, 2022, 4:59am UTC](https://openziti.discourse.group/t/openziti-file-share/943/2 "2022-12-18T04:59:36Z")

</div>

Ahh… and there is also this one if you have a NAS drive

> **[Free Secure Access to NAS From Anywhere](https://openziti.io/free-secure-access-to-nas-from-anywhere)**
>
> The Problem
> To put it plainly, I don't like opening up ports on my local firewall. However, I have a network attached storage (NAS) device that I want accessible from the internet so I have access from anywhere. So, how can I access my private...

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [December 18, 2022, 5:11am UTC](https://openziti.discourse.group/t/openziti-file-share/943/3 "2022-12-18T05:11:18Z")

</div>

You can do it that way, sure. We have lots of people that use samba file shares or windows file shares. If you want to simply share files, that’s an easy, built-in solution. With a tunneler on the ‘server’ for ZTHA access to the file share server it’s pretty straight-forward. Might be worth looking into.

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [December 18, 2022, 5:14am UTC](https://openziti.discourse.group/t/openziti-file-share/943/4 "2022-12-18T05:14:43Z")

</div>

Samba looks really interesting… one more thing to explore over the break…

> **[GitHub - samba-team/samba: https://gitlab.com/samba-team/samba is the...](https://github.com/samba-team/samba)**
>
> https://gitlab.com/samba-team/samba is the Official GitLab mirror of https://git.samba.org/samba.git -- Merge requests should be made on GitLab (not on GitHub) - GitHub - samba-team/samba: http...
