 We're going to be looking at a web server, actually, files, anyone with a web browser or any modern day computer can download files from a web server, whether it be through a web browser or just using a program like WGet or Curl. And I run Apache on a lot of my systems, but Apache is kind of overkill if you just want to share some files. You can obviously tweak Netcat to share a certain file. I've done that in the past, but that's kind of cumbersome. Busybox. I love Busybox. It has a built-in HTTP daemon, and you can daemon. And you can put it in anything from routers to your desktop computer to your phone. But it doesn't have a default like a web directory. So to get to a certain file, people have to know the exact link to a certain file, which is fine if you're going to share that file. That's one way to do it. And you can create directory indexes for it, but then you need a separate script. You need to set up folders. It works, and it's great, but there's a simpler way. And you might be thinking, OK, Python. Python, you can set up a simple server. One command, you run a Python command. And Python runs on almost everything. And you now have a web directory. People can download from it. And yes, that's true. That is a great way to do it. But there's another option. And it's actually a Python script. So it'll run on a machine you have Python on. And it's called wolf, W-O-O-F. And it should be in your repositories on most distributions. I'll use app 2 to search for it. You'll see it's right here. I already have it installed. It says share files through HTTP. So it's designed for sharing files. If I man wolf, we can see here. It says it's a small, simple, stupid web server to share files. And it gives you options as into what port you want to share it on. By default, it goes to port 8080. And you also give it a count. So you can say, if you don't say anything, after the file is downloaded once, the web server stops. So you can create this thing, point it at a file, send the link to somebody. They click on it. It downloads. And the web server shuts off. So no one else can download that file. You can also point it at a directory using the dash z, dash j, dash capital Z, or dash u options. And what that does is, now, if you were using another web server with a web directory and you wanted to share 10 files or 100 files, someone would have to click on each one of those files to download it. Well, with Wolf, you point it at a directory, you give it one of these options for what compression you want, or an uncompressed tar ball. And when they click on it, it sends them that compressed zip file, or a gzip file, or just a tar file, or a bzip2 file. And it just downloads that whole directory as one file that they can then uncompress on the device. They don't have to click on 100 different links. So let's go ahead and give this a try. I'm going to quit out of the man page. I'm in a directory here from a previous tutorial that I have, two MP3s and a WAV file. So let's say I wanted to share this one.mp3. What I can do is I just say Wolf, once I have Wolf installed, obviously, and point it at that file. And I'll hit Enter. It tells me right here that I'm my current IP address, port 8080. And again, you can specify a port if port 8080 has already been used or you want to use a different port on your machine. And now I can go here and I can type in that address. I could probably type in localhosts as well, but just as an example, I'll give my local IP address here, 8080. And when I hit Enter, I don't have to get a file name because it's pointing out that one file, one.mp3. And now that's downloads my computer. And again, I can point, they give this link to anybody on their phone that click on it. It will automatically download that file. As you can see, the web server killed itself after it downloaded that file. And again, you can do dash C and I can say two. And when I hit Enter now, I can go there. See, I downloaded it again and I downloaded it again. And if I try to download it a third time, well, I can't because after two times, it turned off the web server. So the web server doesn't keep running after the file has been downloaded. Now as another example, as I said, I can say Wolf and I'm gonna say dot for the current directory, but I can point at any directory. And I'm gonna say dash Z, lowercase C, which I believe was a GZIP file. So it's gonna be a tar ball file inside a GZIP file. I'll go ahead and hit Enter. And now when I come here and I go to this link, it's going to give me a file called FM because that's the name of the folder dot tar dot GZ. And I can then unzip this file like so. And I have all three of those files inside a folder, inside a file. So I didn't have to go and click on each one of those files separately or give a different link for each one of those files. So that is a quick look at Wolf, but it does a little bit more that we're gonna look at in the next video. But go ahead and check this out again. It's a Python script. So it should run on any machine running Python. And of course, again, you can always use your Python simple server, but this gives a few other options and we're gonna get into a little bit more in the next video. I thank you for watching. Please visit filmsbychris.com. That's Chris with the K. There's a link in the description. If you enjoyed this video and if you enjoy most of my videos, think about supporting over at patreon.com. Ford Session Metal X1000. There's a link to that in the description. You can also support me through PayPal at my website on the support section. And at filmsbychris.com you can also search through all my videos from both my channels. I thank you for watching. And as always, I hope that you have a great day.