Tag: Ftp

PureFtp + Not able to list more than 2000 files

Problem: Not able to list more than 2000 files in a directory using Ftp. Solution: The pure-ftp by default limit maximum number of # files to be displayed to 2000. So edit your pureftpd configuration file which is at /etc/pure-ftpd.conf and change the line LimitRecursion 2000 8 to LimitRecursion 5000 […]

Upload or Download Multiple Files (recursive) using Command-line FTP

Problem is I can’t upload directory including sub-directories and files using command-line ftp. I searched for similar problem and looks like you can’t do this using command line ftp, unless you create a script. One Day humidity. It and low price lexapro aging and line local cheapest generic viagra india […]

HOW-TO: SFTP support in ProFTPD

DA comes with support for ProFTPD mod_tls however there are several problems with mod_tls. 1) It only encrypts the control channel of FTP, leaving the actual data transferred still in clear text. 2) That also causes problems with FTP traversal of firewalls since the firewall can’t see which ports are […]

Shell Script to email Successful Ftp Logins

This Shell script will search the server logs on daily basis and will email you the successful Ftp Logins of the day. The ftp logs are saved in the /var/log/messages file as by default there is no separate log file for Ftp in Linux. Create a file /home/script/ftplogins.sh and paste […]

How To Use Wget Through Proxy

Wget is a super-useful utility to download pages and automate all types of web related tasks. It works for HTTP as well as FTP URL’s. Here is a brief tutorial on how to use wget through proxy server. To get wget to use a proxy, you must set up an […]

Ftp: 425 Unable to build data connection

Error Message: LIST 425 Unable to build data connection: Connection timed out PASV 227 Entering Passive Mode (xx,xx,xx,xx,xx,xxx). connecting data channel to xx.xxx.xx.xxx:54963 The above error message is received while you Ftp to an account successfully but it does not list the files and directories within it. The reason for […]

How to Block Ftp Access/Port using iptables OR CSF?

The default firewall that comes along with Linux is “iptables” and you can use iptables to block Ftp access/port on your server. Completely block Ftp access on the server: # iptables -A INPUT -p tcp –dport 21 -j DROP Block Ftp access for a specific IP address, say # […]