Quickly Share a Folder Using HTTP On a Linux Host
How to share files quickly when working in a mixed environment with both Windows and Linux machines without using Dropbox.
Join the DZone community and get the full member experience.Join For Free
working on a mixed environment, with windows and linux boxes, you might want to share some stuff from a linux machine with a user that doesn’t have an ssh client with file tranfer support or even installed. or even send some files to download to a non-techie teammate.
something everybody is used to is downloading files from the browser, why not use that?
on your linux box, go to the directory where the files are stored and run the following command:
python -m simplehttpserver
for example, i shared a folder called “vmware-tools-distrib”:
afterwards, the target user only has to open the browser and navigate to the address of the linux box on port 8000.
easy and handy.
Published at DZone with permission of Joao Osorio. See the original article here.
Opinions expressed by DZone contributors are their own.