Share files using the python

provides a python module, you can quickly set up a ftp server. For us late in the absence of USB case can go to colleagues shared network files.

python -m pyftpdlib -uyangdong -Pyangdong

Optional parameters:

i specify the ip address (ip address default native) 
the p-specified port (default is 2121) 
w write permissions (the default read-only) 
d specified directory (default is the current directory) 
U Specifies the user login name 
P specify the login password

 

Guess you like

Origin www.cnblogs.com/yangxiaochu/p/11288060.html