Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries Tagged as 'ftp'

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

October 15th, 2010 · 2 Comments · Installation

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 solution I found is the use of “lftp“. # lftp ftp_host > user ftp_user ftp_pass > mirror source target (download [...]

[Read more →]

Tags: ·

ASA allow passive ftp traffic

March 17th, 2009 · 7 Comments · cisco, Security

Many ftp client will try to establish a passive connection with a server by default. A passive connection will use a high numbered unprivileged port range greater then 1023 (PASV) instead of port 20 (PORT). Most ftp servers specify different ranges that are to be used for passive connections.

[Read more →]

Tags: ··

vsftpd logging timestamp

December 9th, 2008 · 2 Comments · Centos, CLI, sysadmin

While investigating some ftp transfers issues we realized that there was something wrong with the logs generated by vsftpd. The timestamps reported in the vsftpd log were wrong, and the fact that they were always 5 hours behind the actual time made us think this was caused by a timezone issue. The system running this [...]

[Read more →]

Tags: ··