[Wylug-help] ftp setup
Roger Beaumont
roger.b at beaunet.force9.net
Tue Sep 21 08:44:47 BST 2004
My son (in China) wants to send me some files that are inconveniently large to
send as email attachments, so I set vsftpd running...
He can log in, 'ls' his home directory, and download, but cannot create a
directory or upload files to my machine. When he tries he gets (for eg):
------------------------------------------------
Connected to 82.38.54.74:7062
STOR amber.jpg
550 Access is denied
------------------------------------------------
or
------------------------------------------------
(Logged on)
SYST
215 UNIX Type:L8
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (82,38,54,74,25,236)
connecting to 82.38.54.74:6636
...
connecting to 82.38.54.74:6636
connected to 82.38.54.74 port 6636
LIST
150 Here comes the directory listing.
Received 195 bytes in 0.1 secs, (10.00 Kbps), transfer succeeded
226 Directory send OK
sending amber.jpg as amber.jpg (1 of 1)
TYPE l
200 Switching to Binary mode
PASV
227 Entering Passive Mode (82,38,74,61,239)
connecting to 82.38.54.74:15855
...
connecting to 82.38.54.74:15855
Connected to 82.38.54.74:15855
STOR amber.jpg
550 Access is denied
-----------------------------------------
I've suggested that he tries 'ftp' from the (Doze) command line, but he says
that does the same as his gui s/w.
I've ssh'd into a friends machine (to get outside my firewall) and both sftp
and gftp (cli) let me log in (as my son), list directories, create
directories and upload files.
Any suggestions?
Roger
vsftpd.conf (with long comments removed to save space here) is:
-----------------------------------------------
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
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
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
nopriv_user=ftp
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to the FTP service.
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
#enable for standalone mode
listen=YES
tcp_wrappers=YES
-----------------------------------------------
More information about the Wylug-help
mailing list