Posts Tagged ‘FTP’

One of my blog user “Chris” asked for FTP clean up script, so here it is: //CONFIG SECTION //******************************************************* // Credentials for FTP Server $source_server_ip = “your_domain_or_IP”; // Server IP or domain name eg: 212.122.3.77 or ftp.domain.tld // Credentials for FTP account $ftphost = “ip_or_hostname_of_ftp”; // FTP host IP or domain name $ftpacct = “userid”; […]

Passive Mode FTP with iptables

Posted: 21st January 2014 by Babar Shafiq in System Administration
Tags: , , , , , ,

There’s lots of advice on the net about how to setup a server with iptables to allow passive mode FTP. Below is the approach that we’ve found to be most effective. Start by configuring your FTP daemon to use a fixed range of ports. We use 41361 to 65534 which is the IANA registered ephemeral […]

  I was looking for a working script to take full backup (all files+databases+emails) manually or using cron services on my hosting server, each CPanel user by one. But most of the scripts are either old, totally unusable or commercial. So I wrote one for my own use and sharing here so others don’t need […]

FTP automation on Linux

Posted: 8th November 2012 by Babar Shafiq in System Administration
Tags: , , , , , ,

  Ever wanted FTP backups and automation for keeping backups of important file on off-peak time. I always love automation, so machines can do things automatically and help humans 🙂