Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Email

第 68 章 FTP (File Transfer Protocol)

目录

68.1. lftp
68.1.1. pget
68.1.2. lftp 批处理
68.2. ncftp
68.2.1. batch command
68.2.2. ncftpget
68.2.3. ncftpput
68.3. FileZilla
68.4. vsftpd - The Very Secure FTP Daemon
68.4.1. 安装 vsftpd
68.4.1.1. Ubuntu 环境安装
68.4.1.2. CentOS 7 环境安装
68.4.2. ftp 帐号的shell权限
68.4.3. vsftpd 认证模块
68.4.3.1. pam_shells.so
68.4.3.2. virtual user
68.4.3.3. 虚拟用户权限
68.4.4. chroot
68.4.4.1. local user
68.4.4.2. /etc/vsftpd/chroot_list
68.4.4.3. test
68.4.5. FAT
68.4.5.1. vsftpd: refusing to run with writable root inside chroot()
68.5. ProFTPD + MySQL / OpenLDAP 用户认证
68.5.1. Proftpd + MySQL
68.5.2. Proftpd + OpenLDAP
68.6. Pure-FTPd + LDAP + MySQL + PGSQL + Virtual-Users + Quota

参考http://netkiller.8800.org/article/ftpserver/

68.1. lftp

68.1.1. pget

多线程下载

lftp -c 'pget http://url.example.com/file.ext' # 默认5个线程
lftp -c 'pget -n 10 http://url.example.com/file.ext'
			

68.1.2. lftp 批处理

			
lftp $HOSTADDR<<FTPCMD
cd $REMOTEPATH
lcd $DESTPATH
nlist > $DYNAFILE
quit
FTPCMD
			
			
comments powered by Disqus