Results
When you run the command to record video showed the following on screen:
The process requires all the resources of Raspberry Pi and becomes very hot. In this part we recommend a kind of external cooling, like a fan. The following image shows the entire unit in operation:
To access the Raspberry Pi we use a remote connection using ssh, so the package should be installed ssh on both computers.
sudo apt-get install ssh
On a computer connected to the same local network as the Raspberry Pi run the following command:
ssh -X [Raspberry Pi IP]
Regarding to the FTP server, everything worked properly following the instructions set in the implementation section about the setting and accessing of a FTP server. It was possible to transfer the recorded videos with the Raspberry Pi to the remote server at a speed of ~11 MiB/s. Also it was possible to create directories and to navigate in the allowed directories inside the remote server. Another functionality tested was to put a file in the FTP server and download it to the Raspberry Pi with the command get. Moreover, the chroot jail configured in the vsftpd.conf file, limits the commands mkdir, get, delete, put, among others. Those commands can only be used inside the ftpuser home directory, therefore it is not possible to modify the directories outside the home of the user used to log in to the server. Despite this, the cd and ls commands can be used outside the assigned home directory, so it can be seen all the directories where the ftpuser has permissions to enter.