Installing an FTP server on a Ubiquiti airVision-C NVR Appliance may be useful for downloading recordings to an external server for offsite backup. This is a much faster option of downloading recordings for your airVision-C NVR than our previous guide which uses ssh (winscp). Average speed using FTP on a local network tested with a single 3GB file was around 35MiB/s.
Login to your NVR via ssh using PuTTY or other ssh application:
If prompted with a Security Alert about the host key please select Yes.
Password: (your airvision/nvr login password)
Update all package sources:
Install proftpd FTP server:
apt-get install proftpd
Press "y" to accept and install if prompted.
Add this line /bin/false to the /etc/shells file for added security prevent shell access to user:
echo '/bin/false' >> /etc/shells
Create an FTP user and set their home directory to the airVision videos folder:
New User: ftpuser
New Password for 'ftpuser': ftppass
Set user home directory to airvision videos directory: /srv/airvision2/videos
useradd ftpuser -p ftppass -d /srv/airvision2/videos -s /bin/false
Set the Password for the new FTP user created above (i.e. ftppass):
Editing the proftpd.conf configuration file:
I prefer using 'nano' text editor for editing files in linux (default installed is 'vi') to install nano use 'apt-get install nano'.
Make the following changes to lock the user 'ftpuser' to their home directory (/srv/airvision2/videos).
Change the following line from:
Restart proftpd service to apply changes:
service proftpd restart
Connect via an FTP Client and start downloading: