Link to the original text
What should the ultimate LAN transmission experience be like
Just one step , Double click the software to start sharing , No deployment required , No need to configure , Near zero learning costs
- Open the folder you want to share
- Double click to share ( Start sharing , Just double click to run )
- Send the sharing link to your friends
- Small partners download the required files through links
- Turn off sharing
Why is it
Simple :
- No installation required , Single file , Double click the running program to share , No deployment required , No need to configure
- The program is less than 100k, Download at any time , Run at any time
Fast
- LAN based transmission , Do not use Internet broadband , No traffic consumption
- Point to point direct transmission , No need to upload first , The process of downloading again
Security
- LAN based transmission , No middleman , Data will not be stored in any third party , Put an end to information leakage
windows End use instructions
- Download LAN sharer
- take 「 Sharer 」 Put it in the folder you want to share , If you want to share desktop files , That will 「 Sharer 」 Just put it on the desktop
double-click 「 Sharer 」
Right click 「 Sharer 」, Click to open the sharing page , Open the folder page you are sharing in the browser
- Copy the link , Send to small partners , If you visit this link, you will get the same page
- Click the link in the page , You can download the file . If it is a media file , The browser will open the preview function , Sure ctrl + s Save the file
principle :
- Because I am right windows Development is not familiar with , stay windows You can find your best friend , This is the simplest tool .
- No author information found for this tool , I can only say thank you in silence .
mac End use instructions
Click on Download LAN sharer , obtain 「 Sharer 」 file
- take 「 Sharer 」 Put it in the folder you want to share , If you want to share desktop files , That will 「 Sharer 」 Just put it on the desktop
Double-click on the run 「 Sharer 」
- 「 Sharer 」 The folder page you are sharing will automatically open in the browser
- Copy the link , Send to small partners , If you visit this link, you will get the same page
- Click the link in the page , You can download the file . If it is a media file , The browser will open the preview function , Sure ctrl + s Save the file
- The transmission speed of LAN is faster , In general, it can achieve 3m/s, Realize the fast transmission of large files
principle : This is an easy one python Script , With the help of python The command to quickly set up the server
SimpleHTTPServer
.mac The system has built-in python, No need to install in advance , Therefore, there is no pre environment requirement .#!/usr/bin/env python # -*- coding: utf-8 -*- import webbrowser import socket import random import sys import os # Get local ip try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(('8.8.8.8', 80)) ip = s.getsockname()[0] finally: s.close() print(ip) # Use random port randomPort = random.randint(20000, 30000) # Use the default browser , Open the shared page webbrowser.open('http://' + ip + ':' + str(randomPort)) # Open the target folder to share os.chdir(sys.path[0]) # Start the service , Build static file service os.system('python -m SimpleHTTPServer ' + str(randomPort))
mac If the client encounters an execution permission problem
- mac If you are prompted that you do not have permission to execute the software , You need to give permission , However, the authorization process only needs to be performed once , Subsequent use does not require re authorization .
open mac Self contained 「 terminal 」 Software
- Input
chmod +x
, Drag the software into the terminal , Automatically get the path of the software . - enter , Complete authorization