Today I posed the problem to start an FTP server on my computer. Although (also in the repositories) There are several solutions to my problem, Graphical user interfaces are scarce. Despite this, I found an FTP server written in python that also includes a handy gui, in a single file.
Let's execute permission to the script you just downloaded python:
chmod 777 ftpserver.py
We install the server:
sudo python ftpserver.py
The server is now installed, and only works via command line. With the following command we can start it without root privileges, on the door 2121, allowing anonymous users to read and write in the specified directory (“FTP”) who must be present in the virtual place from which we launch the command.
python ftpserver.py --directory=FTP --port=2121 --write
For a list of all available commands we type “
python ftpserver.py --help“.
For permettene execution to all users of the system (and install the application without having to type the path each time) rename the executable python “
ftpserver.py” in “
ftpserver” and the move to “
And now the highlight: la gui. It is actually a small window clear and simple. We download the only file that makes up the gui and glue these lines in a file that we will call “ftpgui.py”. Even in this case, to start data typed:
And this is the result:
With the menu manager “alacarte” you can create a “thrower” to launch the program more quickly. In this case I gave the program icon FileZilla.