Share files in Linux - Via Python
Hi guys I'm here to tell you about Linux file sharing - Via Python.There are some methods that I know, I'm going tell you about them. .
You can share files from one to another PC / Computer by these methods,
1. Share files by hosting method. .
2. Share files by Lan-to-Lan connection (or) Establissing same network to both computer / PC's
1.Share files in Linux hosting method :-
You can share files from one to another linux computer/PC from anyware to anyware depend on bandwidth limit you are using . .
** Make sure in Linux Sytem every cmd is case sensitive. .
Share files in Linux via Python terminal cmd :-
Open the terminal and type(without quotes) :- " cd working directory "
If your working directory is Desktop then type " cd Desktop/"
Open the terminal and type(without quotes) :- " python -m SimpleHTTPServer port "
As a user you can only able to some port allow default port in python sharing is If you want to access without port you need add port as ' 80 ' with sudo cmd like..
" sudo python -m SimpleHTTPServer 80 "
It will ask you enter user password, enter the password enjoy the services.
Make sure you have selected the right directory that is sharing folder. .
Access files from another PC by. .
Open the browser enter the hosting PC ip address and download which file you want from him.
If you near by use a Lan-to-Lan connection to save data who is paying for bandwidth. .
Python is singe link fast access method, can only one user at a time access available. .
You can use Apache2 hosting for share to multiple users are build a website,