Many have probably encountered the need to create a simple FTP client for their needs in C#. I was no exception. Recently, I had to create a specific application for updating software via FTP. And the most useful thing I found for this purpose was the BytesRoad.NetSuit library (with source code). This is a very simple component that provides the main functionality for working with FTP.
Example configuration for FTP (vsftpd) with user blocking in home directory. IInstalling FTP in Ubuntu: sudo apt install vsftpd This is simple. Now, open the configuration file: /etc/vsftpd.conf Check that the parameters in this file are as follows: ... Also, create a file ... (if it does not exist) and add user codes, for example: ... User codes can be viewed in /etc/passwd ...
Recipe to jail FTP user in their own folder. Add to vsftpd.conf: local_enable=YES allow_writeable_chroot=YES chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list In the file /etc/vsftpd.chroot_li…