PDA

View Full Version : [REQ] Custom Dupe Checker


Reformer
11-29-2003, 08:49 AM
Hi!

I need a dupechecker that only check dupes on uploads and not on mkd.. I need to be able to mkd dirs without it beeing added to a dupelist..

wooolF[RM]
11-29-2003, 08:58 AM
ioBanana can do it :)

Reformer
11-29-2003, 11:02 AM
Originally posted by wooolF[RM]
ioBanana can do it :)

how.. ive tried.. disable the mkd in pre=?

wooolF[RM]
11-29-2003, 11:05 AM
ioB can either do dupe check on upload of files or on MLD of folders... as I understood all u need this "files check" method :)

Reformer
11-29-2003, 03:25 PM
Originally posted by wooolF[RM]
ioB can either do dupe check on upload of files or on MLD of folders... as I understood all u need this "files check" method :)

well i want dupechecker for folder not files..

but problem is that users make their own upload catalogue as their names every week

Harm
11-29-2003, 03:50 PM
http://www.ioftpd.com/board/showthread.php?s=&postid=13445#post13445

Reformer
11-29-2003, 04:08 PM
Originally posted by Harm
http://www.ioftpd.com/board/showthread.php?s=&postid=13445#post13445

still not a good solution couse if they not allways type the exact same name or underfolders .. like dates etc.. it all makes a mess.. why isnt there just a dupe that can disable the mkd command.. the dupechecker in raidenftpd worked like that

Harm
11-30-2003, 07:14 AM
Originally posted by Reformer
.. why isnt there just a dupe that can disable the mkd command..

That's what all dupecheck scripts do when they check dirs.
If the directory is a dupe, then the script cancels the MKD command.

Your first question was about a script to dupecheck uploads and not directories (since the MKD command is used to create directories).
In this case, wooolF answer is correct, you need a script that checks files and not directories.
If that wasn't what you were asking for, could you please be a little more explicit ?

alturismo
11-30-2003, 08:18 AM
Originally posted by Reformer
well i want dupechecker for folder not files..

but problem is that users make their own upload catalogue as their names every week

well, if they use diff names for same releases u should think about

a nuker or your uploaders :P

stLancer_2
11-30-2003, 10:16 AM
i am using NEWDIR 3.X's DUPE, it is really nice script.
:D

Reformer
11-30-2003, 11:01 AM
Originally posted by alturismo
well, if they use diff names for same releases u should think about

a nuker or your uploaders :P

noo.. i have

/upload/week01/user_name

so next week

/upload/week02/user_name

here the second week the user types the same name and bam he wont be able too..

its not the releases its the folder names created by the users manually that i dont want to get dupe

...

and then is the question.. can iobanana someway check old releases, can i manually write all folders in the current_dirs.log file?

Unique
11-30-2003, 12:33 PM
exclude their names then just like sample. cd whatever

Reformer
05-07-2004, 02:58 PM
Seriously now :)

I really need help finding an dupechecker that works as i want

now with iobanana i have the problem when checking files that it still uploads the folders if the files exists..

I want a dupechecker that dont allow existing folder and files on the site but i still need to be able to make drawers with same names without having to exclude them..

Why would it be so difficult to have a dupechecker that only dupes files and folders thats beeing uploaded and not created by using make dir in your ftp program..

Please help me out.. couse as it is now.. i have tons of dupes coming up and its alot of empty folders.. its frustrating :)

neoxed
05-07-2004, 03:31 PM
Originally posted by Reformer
Seriously now :)

I really need help finding an dupechecker that works as i want

Then write your own. Most dupe checkers are written for the general public. If you want something specific: write your own, modify an existing one or find a scripter that willing to write one for you. (More then likely, you'll have to find something to give him or her in return...)

Btw, I moved the thread to the proper category and renamed the thread to a more descriptive name rather then "dupe".

JoeBAR
05-13-2004, 02:52 PM
Originally posted by Reformer
Seriously now :)

I really need help finding an dupechecker that works as i want

now with iobanana i have the problem when checking files that it still uploads the folders if the files exists..


You mean make ...



I want a dupechecker that dont allow existing folder and files on the site but i still need to be able to make drawers with same names without having to exclude them..


Disallow existing folder = Dupe check DIR names

I suppose that by "drawers" you mean directories... Or folders, as is now used in Windows English language... You have to exclude these in the list of checked directories... IT AIN'T THAT HARD, IS IT?




Why would it be so difficult to have a dupechecker that only dupes files and folders thats beeing uploaded and not created by using make dir in your ftp program..

ioBanana or newdir do that ... "Uploading" a directory is exactly the same as MKD a dir, since that's what the ftp client does... If you mean dupe dirs made in Explorer, you need to write a batch file or a small utility that checks once in a while the ftp tree, and add the entries that ain't already in the dupe log file...



Please help me out.. couse as it is now.. i have tons of dupes coming up and its alot of empty folders.. its frustrating :)

All I've said has already been said, and all you want your dupecheck to do is what they already do... Making dirs on a ftp without going through the FTP itself is rather dumb... Insead of downloading, just fxp to yourself... If you want to put stuff off newsgroups or bittorrent or whatever alternative source, upload them to yourself too ....

If you still can't werk it out with all that, I suggest you give up :-)