Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quickly Share a Folder Using HTTP On a Linux Host

DZone's Guide to

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.

· Cloud Zone ·
Free Resource

Discover a centralized approach to monitor your virtual infrastructure, on-premise IT environment, and cloud infrastructure – all on a single platform.

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.

Learn how to auto-discover your containers and monitor their performance, capture Docker host and container metrics to allocate host resources, and provision containers.

Topics:
linux ,python ,networking ,file sharing

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}