Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st September 2011, 14:49
rockan rockan is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 6
Thanked 1 Time in 1 Post
Default Problem with ftp uploading

I have problems overwriting current files on a site via FTP filezilla.

The log transfers says it goes perfect but when I look at the file size and try to browse them nothing has changed.

Svar: 150 Accepted data connection
Svar: 226-File successfully transferred
Svar: 226 0.006 seconds (measured here), 1.25 Mbytes per second
Status: Filöverföringen lyckades, överförde 7*434 byte pĺ 1 sekund

I guess it has to do with file rights so I check with Winscp and it is 644 web1 [5004] / client1 [5006]

What I am doing wrong?

Deleting the file with Filezilla and reuploading a new works though but it is a hassle.
Reply With Quote
Sponsored Links
  #2  
Old 1st September 2011, 15:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Quote:
I guess it has to do with file rights so I check with Winscp and it is 644 web1 [5004] / client1 [5006]
Thats ok.

Please check the filezille settings if ovewriting of files is enabled there. Additionally, check the pure-ftpd.conf file if overwriting of files is enabled there too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rockan (1st September 2011)
  #3  
Old 1st September 2011, 15:55
rockan rockan is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
Thats ok.

Please check the filezille settings if ovewriting of files is enabled there. Additionally, check the pure-ftpd.conf file if overwriting of files is enabled there too.
Is it odd if I can't find the pure-ftpd.conf in /etc?


root@william:~# find / -name pure-ftpd.conf
/etc/fail2ban/filter.d/pure-ftpd.conf
Reply With Quote
  #4  
Old 1st September 2011, 15:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Which Linux distribution do you use?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 1st September 2011, 16:07
rockan rockan is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 6
Thanked 1 Time in 1 Post
Default

Linux version 2.6.32-5-amd64 (Debian 2.6.32-34squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed May 18 23:13:22 UTC 2011

It was made after a perfect server tutorial here on howtoforge.

Thanks till.
Reply With Quote
  #6  
Old 1st September 2011, 16:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Please post the output of:

/etc/pure-ftpd/conf/

And check the settings in filezilla and try a different FTP client like fireftp plugin in firefox to verify that its not a problem with the ftp client settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 1st September 2011, 16:12
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Under Debian, conf files must be in /etc/pure-ftpd/conf/

do a vdir there and post here file list you have there pls.

edit: go to file that you are trying to overwritte, and see permissions pls. If a file is created as root in a client folder, the ftp user is not allowed to overwrite it.
Reply With Quote
  #8  
Old 1st September 2011, 16:12
rockan rockan is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 6
Thanked 1 Time in 1 Post
Default

root@william:/etc/pure-ftpd/conf# ls
AltLog FSCharset PureDB
BrokenClientsCompatibility MinUID TLS
ChrootEveryone MySQLConfigFile UnixAuthentication
DisplayDotFiles NoAnonymous
DontResolve PAMAuthentication



root@william:/etc/pure-ftpd/conf# vdir
total 52
-rw-r--r-- 1 root root 36 Dec 15 2010 AltLog
-rw-r--r-- 1 root root 4 Aug 30 19:23 BrokenClientsCompatibility
-rw-r--r-- 1 root root 4 Aug 30 19:23 ChrootEveryone
-rw-r--r-- 1 root root 4 Aug 30 19:23 DisplayDotFiles
-rw-r--r-- 1 root root 4 Apr 7 14:39 DontResolve
-rw-r--r-- 1 root root 6 Dec 15 2010 FSCharset
-rw-r--r-- 1 root root 5 Dec 15 2010 MinUID
-rw-r--r-- 1 root root 29 Dec 16 2010 MySQLConfigFile
-rw-r--r-- 1 root root 4 Dec 15 2010 NoAnonymous
-rw-r--r-- 1 root root 4 Dec 15 2010 PAMAuthentication
-rw-r--r-- 1 root root 28 Dec 15 2010 PureDB
-rw-r--r-- 1 root root 2 Apr 7 14:02 TLS
-rw-r--r-- 1 root root 3 Dec 15 2010 UnixAuthentication
Reply With Quote
  #9  
Old 1st September 2011, 16:33
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

See timestamp of the file in the client path pls. Next, upload it again. See again if timestamp of the file has been changed. I had a similar problem 1 week ago... I was overwritting a file, all was ok... but browsin the file it was showing same old content... it was a broken link pointing to same file in another directory... I don't know is this is the same case but... well...

By the way, this is happening with every file or just this?
Reply With Quote
  #10  
Old 1st September 2011, 16:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

If the tipps from Erbosk dont work, then please try to execute this:

echo 0 > /etc/pure-ftpd/conf/AutoRename

and restart pure-ftpd.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP problem, ISPConfig gummiv Server Operation 4 14th February 2011 13:11
Ftp problem Vm problem toux General 1 10th February 2011 09:45
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Users can't acces their folders with Web-FTP kvdd Installation/Configuration 9 1st November 2007 19:52


All times are GMT +2. The time now is 05:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.