ubuntu主機配置FTP後解決無法接受文件上傳的問題

服務器環境:ubuntu14.04lts
win10下用的xftp進行文件傳輸:
這裏寫圖片描述
剛開始只能下載,不能上傳,這是權限問題,配置文件/etc/vsftpd.conf默認不接受寫入,現在需要在root權限下做一下修改即可,找到,

#write_enable=YES

將註釋取消即可。
文件全部內容如下:

root@machuanli-All-Series:/etc# vi vsftpd.conf 

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (Disabled by default)
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES #(修改這裏)
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
"vsftpd.conf" 150L, 5653C                                                                                                                                                                     
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章