Cookie Into the (open) source


Un server ftp (with gui) in a single file


This article was written in the 2012, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.

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.

First download, a modified version of the original software "pyftplib" (glue lines just copied into a new file that we will call "").

Let's execute permission to the script you just downloaded python:

chmod 777


We install the server:

sudo python

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 --directory=FTP --port=2121 --write

For a list of all available commands we type "python --help".

For permettene execution to all users of the system (and install the application without having to enter it each time the path) rename the executable python "" in "ftpserver" and the move to "/usr/bin/".

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 "". 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 the icon of FileZilla.


I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.