Proftpd STOR Filename fails with 550

twistedgamer

New member
Joined
Feb 1, 2007
Messages
4
OK I can't figure this out.

I manually looked at the proftpd cfg file via ssh. Just looked didn't edit anything. Was trying to figure out why I was having slow logins. Don't know if its related, haven't FTP'd anything since before the big CentOS update that required a restart a few weeks ago.

Went to upload a file tonight to one of my sites and basically got no response from my SmartFTP client. After trying to get it to work in the Client for about 30 min's I decided to check the log on the server. Kinda irk'd at SmartFtp at the moment for not spitting anything back about the 550 error but that's neither here nor there as the issue seems to be server side.

This is the line repeated over and over from the attempts to upload the file
Code:
::ffff:68.3.241.63 UNKNOWN username [06/May/2011:00:59:03 +0000] "STOR dirname" 550 -

Tried different directory's, files and different users all the same result.

I can retrieve files and dir listings fine (RETR). I can create folders (mkd), I can create files (STOR New File.txt). But I can not transfer a file from my PC to the server via a FTP client. Using Direct Admins web interface I can transfer a file.

This is the contents of the config file for proftpd
Code:
ServerName		"ProFTPd"
ServerType          	standalone

Port			21
PassivePorts		35000 35999
UseReverseDNS		off
TimesGMT		off
TimeoutLogin		120
TimeoutIdle		600
TimeoutNoTransfer	900
TimeoutStalled		3600

ScoreboardFile			/var/run/proftpd/proftpd.pid

TransferLog		/var/log/proftpd/xferlog.legacy
LogFormat		default "%h %l %u %t \"%r\" %s %b"
LogFormat		auth    "%v [%P] %h %t \"%r\" %s"
LogFormat		write   "%h %l %u %t \"%r\" %s %b"

#DON'T modify this log format.  Its used by DirectAdmin to determine user usage
LogFormat		userlog "%u %b %m"
ExtendedLog		/var/log/proftpd/74.81.73.111.bytes WRITE,READ userlog

AuthUserFile                    /etc/proftpd.passwd
DefaultServer		on
AuthOrder mod_auth_file.c

#AuthPAM off

<IfModule mod_tls.c>
	TLSEngine on
	TLSLog /var/log/proftpd/proftpd.tls.log
	TLSProtocol TLSv1
	TLSVerifyClient off
	TLSRequired off
	
	#Certificates
	TLSRSACertificateFile /etc/exim.cert
	TLSRSACertificateKeyFile /etc/exim.key
	#TLSCACertificateFile /etc/ftpd/root.cert.pem

	TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
</IfModule>

<Global>
	PassivePorts            35000 35999
	DeferWelcome		on

	RequireValidShell	no

	DefaultRoot		~
	DirFakeUser on ftp
	DirFakeGroup on ftp

	User			ftp
	Group			ftp
	#UserAlias		anonymous ftp

	AllowStoreRestart	on
	AllowRetrieveRestart	on

	ListOptions		-a

	Umask			022
	DisplayLogin		welcome.msg
	DisplayChdir		readme
	AllowOverwrite		yes
	IdentLookups		off
	ExtendedLog		/var/log/proftpd/access.log WRITE,READ write
	ExtendedLog		/var/log/proftpd/auth.log AUTH auth
	
	#
	# Paranoia logging level....
	#
	ExtendedLog    /var/log/proftpd/paranoid.log ALL default

</Global>

Include /etc/proftpd.vhosts.conf
I've turned the paranoid.log on to see if that helps
 
Back
Top