Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-07-2004, 05:02 AM   #1
epoke
Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 60
Talking [REQ] Global Dupecheck For 2 servers

hi all,

i search in the forum with no luck for a global dupecheck for 2
server ...
I use iobanana20 and i just want to synchronise the current_dirs.log
of the both servers .
I don't know how to code that if someone can help me

TIA
epoke is offline   Reply With Quote
Old 11-07-2004, 07:44 AM   #2
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

All I know of how to do that is to use OnDirCreated combined with FTPLogger. Then you can do dir dupe cheking which is better then file dupe checking anyway. The dupelists can then be stored on a common path and thus easily read from the second server (See DupeLister, FTPlogger, OnDirCreated, DupeSearch etc..)
FTPServerTools is offline   Reply With Quote
Old 11-08-2004, 09:32 AM   #3
epoke
Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 60
Default

thx m8,
i will try to code a tcl using ftp transfert to synchronise the current_dirs.log as said harm in irc .
but i check your prog FTPServerTools .
if anyone have any idea to help me code this one your welcome
epoke is offline   Reply With Quote
Old 11-08-2004, 05:30 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Rather then trying to synchronize the dupe log between multiple sites, why not store the data in a central location, such as a database? Querying a database (i.e. MySQL Server) would most likely be much quicker then reading through and parsing a large log file.
neoxed is offline   Reply With Quote
Reply

Tags
code, current_dirs.log, dupecheck, global, servers

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:42 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)