安卓ftp服务器搭建_搭建FTP站点
创始人
2024-11-24 00:04:36
0

搭建一个FTP服务器,可以使用一些常见的工具,如FileZilla Server、vsftpd等,这里以vsftpd为例,介绍如何在安卓设备上搭建一个FTP服务器。

安卓ftp服务器搭建_搭建FTP站点(图片来源网络,侵删)

1、安装vsftpd

在安卓设备上安装一个终端模拟器,如Termux,然后通过Termux安装vsftpd:

 pkg install vsftpd 

2、配置vsftpd

配置文件位于/data/data/com.termux/files/home/.config/vsftpd目录下,用文本编辑器打开vsftpd.conf文件,修改以下配置:

参数
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

相关内容

热门资讯

秒懂教程“链接金花房卡怎么购买... 神皇大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡来...
微信链接牛牛房卡怎么弄/微信金... 牛牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房卡来享...
安卓系统如何自己写个app,从... 你有没有想过,自己动手写个安卓应用呢?是不是觉得这听起来有点高大上,但其实,只要你愿意,完全可以试试...
终于找到“微信链接斗牛房卡充值... 随意玩是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房卡来...
ia实测“金花房卡专卖店联系方... 卡贝大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡来...
金花链接房卡到哪里买/炸金花房... 金花是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:86909166许多玩家在游戏中会购买房卡来享受...
微信牛牛房卡要怎么弄/微信上玩... 牛牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡来享受...
牛牛房卡的客服联系方式是什么/... 牛牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:44346008许多玩家在游戏中会购买房卡来享受...
正版授权“微信群金花房卡哪里可... 起点大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:86909166许多玩家在游戏中会购买房卡来...
秒懂教程“微信金花怎么玩哪里有... 新蜜瓜牛牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房...
秒懂教程“微信牛牛房卡链接哪里... 新荣耀是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:86909166许多玩家在游戏中会购买房卡来享...
金花房卡平台购买联系方式/微信... 金花是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房卡来享...
微信斗牛房卡专卖店联系方式/炸... 微信斗牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:86909166许多玩家在游戏中会购买房卡来...
给大家讲解“牛牛房卡卖家联系方... 新上游牛牛是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡...
微信斗牛房卡链接使用方法/微信... 微信炸金花是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡...
微信金花链接版有房卡/微信拼三... 金花是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:86909166许多玩家在游戏中会购买房卡来享受...
秒懂教程“金花房卡找谁买划算/... 卡贝大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房卡...
玩金花牛牛15元100张房卡代... 微信炸金花是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房...
房卡必备教程“牛牛金花房卡模式... 炫酷大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:160470940许多玩家在游戏中会购买房卡...
ia实测“金花房卡在哪获取/卡... 卡米大厅是一款非常受欢迎的棋牌游戏,咨询房/卡添加微信:15984933许多玩家在游戏中会购买房卡来...