Get the App
SLTechnology News&Howtos  ›  Network Security  › 

SimpleHTTPServer file transfer

Shulou Source: shulou.com Published: 2022-06-01 05:53:53 10月04日 Update

Vmtool has not been installed, depressed do not know how to transfer files to the virtual machine, colleagues said that you can use simplehttp, so that's it. There must be a python environment.

First, cd to the file directory that needs to be shared, and run:

Python-m SimpleHTTPServer 8080

8080 is the port number. You can specify the port number yourself, but don't conflict with others.

In another host, open a browser, enter the ip and port of the shared file, and you can see the file

Tags: Files slogans depression hosts colleagues browsers environments directories ports conflicts browsing input running transfer Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn Linux MariaDB Huawei