新聞中心
搭建一個FTP服務器,可以使用一些常見的工具,如FileZilla Server、vsftpd等,這里以vsftpd為例,介紹如何在安卓設備上搭建一個FTP服務器。

網(wǎng)站制作、建網(wǎng)站找專業(yè)網(wǎng)站建設公司創(chuàng)新互聯(lián)建站:定制網(wǎng)站、模板網(wǎng)站、仿站、重慶小程序開發(fā)公司、軟件開發(fā)、重慶APP開發(fā)公司等。做網(wǎng)站價格咨詢創(chuàng)新互聯(lián)建站:服務完善、10余年建站、值得信賴!網(wǎng)站制作電話:18980820575
1、安裝vsftpd
在安卓設備上安裝一個終端模擬器,如Termux,然后通過Termux安裝vsftpd:
pkg install vsftpd
2、配置vsftpd
配置文件位于/data/data/com.termux/files/home/.config/vsftpd目錄下,用文本編輯器打開vsftpd.conf文件,修改以下配置:
| 參數(shù) | 值 |
| anonymous_enable | NO |
| local_enable | Yes |
| write_enable | Yes |
| local_umask | 022 |
| anon_upload_enable | No |
| anon_mkdir_write_enable | No |
| anon_other_write_enable | No |
| local_root | /sdcard/Download |
| listen | YES |
| listen_ipv6 | NO |
| pasv_min_port | 40000 |
| pasv_max_port | 50000 |
| pasv_address | :: |
| port_enable | Yes |
| port_number | 21 |
| secure_chroot_dir | /var/run/vsftpd/empty |
| force_dot_files | NO |
| ssl_enable | NO |
| allow_anon_ssl | NO |
| deny_email_enable | NO |
| no_anon_root | Yes |
| soft_links | Yes |
| hard_links | Yes |
| lftp_utf8 | Yes |
| ftp_user | ftpuser |
| ftp_group | ftpgroup |
| user_sub_token | Yes |
| local_root | /sdcard/Download |
| passive_mode = yes (or no) and not bind_only; default: yes (but see below) if you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max_port. If you want to disable it, use "no". The default value is "yes". Note that passive mode is only supported on IPv4 connections. For IPv6 connections, the only option is active mode. See also pasv_address. If you want to enable passive mode, you must also specify a value for pasv_min_port and pasv_max
當前名稱:安卓ftp服務器搭建_搭建FTP站點
地址分享:http://www.5511xx.com/article/cdssdpd.html


咨詢
建站咨詢
