Here’s an example of a simple script for synchronizing directory files from a remote server via FTP, for example with backup archives.
Continue reading “FTP backup script”Tag Archives: FTP
ProFTPd. IP Access Restriction
Access by IP address or subnet in ProFTPd is very easily restricted.
Continue reading “ProFTPd. IP Access Restriction”Solution “Client did not reuse SSL session from control channel, rejecting data connection”
I once ran ProFTPd with TLS and users connected successfully, but one client was trying to transfer files via cURL and got the error:
Continue reading “Solution “Client did not reuse SSL session from control channel, rejecting data connection””Configuring FTPS in ProFTPd
I will give an example of configuring FTPS in ProFTP, and prohibit simple connections without encryption.
Continue reading “Configuring FTPS in ProFTPd”Solution “mod_auth_file/1.0: unable to use world-readable AuthUserFile /etc/proftpd/ftpd.passwd”
Once when running proftpd with configured users in a file, I noticed the following error:
Continue reading “Solution “mod_auth_file/1.0: unable to use world-readable AuthUserFile /etc/proftpd/ftpd.passwd””Installing and Configuring Pure-FTPd on Ubuntu
At the time of writing, I will be doing a test installation on Ubuntu Server 14.04.3 LTS.
Continue reading “Installing and Configuring Pure-FTPd on Ubuntu”Installing LFTP on Linux
LFTP is a console FTP client with support for FTPS, SFTP, HTTPS, etc.
Continue reading “Installing LFTP on Linux”Configuring FTPS in cPanel
I will give an example of setting up FTPS for PureFTPd running on a server with cPanel. For ProFTPD, the setup is almost the same.
Continue reading “Configuring FTPS in cPanel”The solution to the error in ProFTPd “unable to open passwd file”
Once I noticed the following error in the file /var/log/proftpd/proftpd.log:
Continue reading “The solution to the error in ProFTPd “unable to open passwd file””error: unable to open passwd file ‘/etc/proftpd/ftpd.passwd’: Permission denied
Configuring an FTP server on Windows Server 2008 R2
On the test, I will configure the FTP server on Windows Server 2008 R2.
Open the “Server Manager”, it can be found in the menu “Start” – “Administrative Tools”.
If the “Web Server IIS” role is installed, then select it and then click “Add Role Services” (not Add Roles), check “FTP Server” and click “Next” and “Install”.
If the “Web Server IIS” role is not installed, in the “Roles” click “Add Roles”, select “Web Server IIS”, remove the tick from unnecessary components and check “FTP Server”, then click “Next” and “Install”.
Open “IIS Manager”, click “Add FTP Site …”, specify any name and path to the directory where the data will be stored, in the next window we will indicate which users are allowed to connect.
On the left we select the created FTP site, open “FTP Authentication” and activate “Basic Authentication”.
This completes the basic configuration of the FTP server and can be connected to it.
See my other articles on the topic Windows Server.