Warning: session_write_close(): write failed: No space left on device (28) in /var/www/html/uftpserver.com/wiki/doku.php on line 123

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in /var/www/html/uftpserver.com/wiki/doku.php on line 123
ftp-server-raspberry [uFTP - FTP Server]

uFTP - FTP Server

uftp server, open source ftp server, linux ftp server, linux ftp server for embedded, easy to configure ftp server, ftp server for initramfs

User Tools

Site Tools


ftp-server-raspberry

This is an old revision of the document!


How to install uFTP FTP server on a Raspberry PI

uFTP server is a Full FTP SERVER ideal for small projects and in ARM devices such as Raspberry PI, it's lightweight it's portable and straightforward to use and configure. It can be installed in any version of Raspberry PI.

In this tutorial we are going to install a full FTP server in just 2 minutes in your raspberry PI.

#Clone the repository
git clone https://github.com/kingk85/uFTP.git
# Compile uFTP server
cd uFTP
# To compile with TLS/SSL support edit the makefile and uncomment the following 2 lines
#ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
#LIBS=-lpthread -lssl -lcrypto
#compile the software
make
#Copy the files to the linux path.
sudo cp build/uFTP /sbin/uFTP
sudo cp uftpd.cfg /etc/uftpd.cfg
# Configure the server
sudo nano /etc/uftpd.cfg
#Set permissions and root restriction of the configuration file.
sudo chown root:root /sbin/uFTP
sudo chown root:root /etc/uftpd.cfg
sudo chmod -rwx /etc/uftpd.cfg
sudo chmod u+rwx /etc/uftpd.cfg
sudo mkdir /etc/uFTP
cd /etc/uFTP
sudo openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
sudo openssl rsa -in key.pem -out newkey.pem
sudo mv newkey.pem key.pem
sudo chown root:root /etc/uFTP/key.pem
sudo chmod -rwx /etc/uFTP/key.pem
sudo chmod u+rwx /etc/uFTP/key.pem
#Run uFTP, note: root permissions are required to execute the uFTP server.
sudo uFTP
ftp-server-raspberry.1586081580.txt.gz · Last modified: 2020/04/05 12:13 by kingk