www.ProFTPD.de

ProFTPD => ProFTPD - English => Thema gestartet von: me255 am 15. März 2004, 08:34:58



Titel: [TL-FTPSFV] remark & question
Beitrag von: me255 am 15. März 2004, 08:34:58
Hello!

I have a problem and a question for FTPSFV 0.1.5;

My problem is when I upload things on my ftp and when one file is missing, I get 3 directories :
[myFTP]-[3.missing.files]
[myFTP]-[2.missing.files]
[myFTP]-[1.missing.files]

Just annoying... :wink:

Then when I delete or add a file it won't recheck SFV to update the directory name  :? Is that normal ?


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 15. März 2004, 18:16:39
No that's not normal.
Could you tell me on which system ftpsfv runs? (Linux, *BSD, ...)

Best regards
TL


Titel: [TL-FTPSFV] remark & question
Beitrag von: me255 am 15. März 2004, 18:29:52
Hello TL

Sorry I forgot some infos  :(

I run proftpd-1.2.9 on a OpenBSD-current


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 17. März 2004, 10:00:23
@me255:
please give me a few days, I will setup an OpenBSD system here and check this...


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 17. März 2004, 21:34:00
@me255:
I've just checked ftpsfv with OpenBSD 3.4 and everything seems to be ok...
Are your directory permissions correct? ftpsfvcheck.pl must be able to modify the dirs it's creating...

Zitat von: "me255"
hen when I delete or add a file it won't recheck SFV to update the directory name  Is that normal ?

When removing files this is quite normal, but when you're adding files via ftp it should update the dir name...


Titel: [TL-FTPSFV] remark & question
Beitrag von: me255 am 19. März 2004, 09:28:25
Hello TL

Ok, I will check my configuration
I'm pretty confident about it because I checked it before posting on the forum.


Thank you very much for the support  :wink:


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 19. März 2004, 12:24:29
@me255:
If the problem persists please contact me again ;)


Titel: [TL-FTPSFV] remark & question
Beitrag von: element-x am 02. April 2004, 14:22:09
I also get the same problem. (Multiple [sitename]-[bad]-[missing] directories)

I run proftpd 1.2.9, ftpsfv-0.1.5 on slackware 8.1 (with modified packages)

The directory has rwx permissions for the user, r-x for group, and no permissions for other.


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 02. April 2004, 23:06:16
@element-x:
Thx for this info, I will check this this weekend...


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 02. April 2004, 23:18:20
@element-x:
What options in ftpsfvcheck.pl did you change?
Could you post or email your ftpsfvcheck.pl script?


Titel: [TL-FTPSFV] remark & question
Beitrag von: element-x am 03. April 2004, 00:36:44
my $sitename = "elementx";
my $user = "admin01";
my $group = "site01";
my $file_permissions = "0640";
my $dir_permissions = "0750";


That's what has been changed in ftpsfvcheck.pl


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 03. April 2004, 07:02:46
@element-x:
How does your ftpexecd.conf looks like?
And would you be so kind to provide a long dir listinng (via ls -l) from the directory where ftpsfv creates multiple directories instead of one?

Thank you


Titel: [TL-FTPSFV] remark & question
Beitrag von: element-x am 05. April 2004, 09:27:41
ftpexecd.conf:

User = admin
Group = ftpusers
fifoFile = /var/run/proftpd/sfv.fifo            
logFile = syslog
Exec = /usr/bin/ftpsfvcheck.pl


drwxr-x---    2 admin     ftpusers        4096 Mar 25 16:20 [vbfx]-[8.files.OK]-[1.files.BAD]-[0.files.MISSING]
drwxr-x---    2 admin     ftpusers        4096 Mar 25 16:20 [vbfx]-[8.files.OK]-[3.files.BAD]-[0.files.MISSING]
drwxr-x---    2 admin     ftpusers        4096 Mar 25 16:21 [vbfx]-[8.files.OK]-[4.files.BAD]-[0.files.MISSING]
drwxr-x---    2 admin     ftpusers        4096 Mar 25 16:24 [vbfx]-[8.files.OK]-[5.files.BAD]-[0.files.MISSING]
-rwxr-x---    2 admin     ftpusers        4096 Mar 25 16:20 checksums.sfv
-rwxr-x---    1 admin   ftpusers  4465265 Mar 25 16:20 track1.ogg
-rwxr-x---    1 admin   ftpusers  8181131 Mar 25 16:20 track2.ogg
-rwxr-x---    1 admin   ftpusers  4364328 Mar 25 16:20 track3.ogg
-rwxr-x---    1 admin   ftpusers  5716008 Mar 25 16:20 track4.ogg
-rwxr-x---    1 admin   ftpusers  5232638 Mar 25 16:20 track5.ogg
-rwxr-x---    1 admin   ftpusers  4501627 Mar 25 16:21 track6.ogg
-rwxr-x---    1 admin   ftpusers  5917882 Mar 25 16:21 track7.ogg
-rwxr-x---    1 admin   ftpusers  1673507 Mar 25 16:21 track8.ogg


Hope this helps.


Titel: [TL-FTPSFV] remark & question
Beitrag von: TL am 07. April 2004, 14:44:28
Since you're running ftpexecd as admin:ftpusers the user & group from ftpsfvcheck.pl is ignored.
Could you try to change these options in ftpsfvcheck.pl?
Code:
my $user = "";
my $group = "";
my $file_permissions = "0777";
my $dir_permissions = "0777";

Does ftpsfv still create multiple directories?

Maybe you could give me a shell account on your system, because I can're reproduce this behaviour on my system...


Titel: [TL-FTPSFV] remark & question
Beitrag von: brmbrm am 10. Juni 2004, 09:27:45
same thing here, with multiple dirs about bad files and one dir with all crc ok
but it only happens sometimes...
And missing file check is case sensitive, so i get "file.zip.missing" and "FILE.zip" but the "crc ok" dir is created. This is when files is upper case, and in the .sfv file they are lowercase.


Titel: [TL-FTPSFV] remark & question
Beitrag von: janbar am 10. Januar 2005, 16:23:11
Where could we find this ftpsfv? I seem to be gone