View Single Post
Old 12-21-2011, 03:04 AM  
jeza
Senior Member
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

New version out
upgrade only if you are using archive and wanna update DUPE on archiving...

Code:
In jeza.ioFTPD.Archive.exe.config add
    <add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />

    <add key="UpdateDupe" value="true"/>
    <add key="DataSourceDupe" value="Data Source=e:\\server\\ioFTPD\\scripts\\jeza.ioFTPD.Manager\\jeza.ioFTPD.Dupe.s3db"/>
    <add key="DataSourceDupeUpdateCommand" value="UPDATE Folders SET PathReal = '{1}', PathVirtual = '{2}' WHERE ReleaseName = '{0}'"/>

Replace all *.dll and *.exe files in 'jeza.ioFTPD.ArchiveScript'
Replace 'XMLSchema.xsd' in 'jeza.ioFTPD.ArchiveScript'
DataSourceDupeUpdateCommand is by default set to update my DUPE DB.
it was not tested with other dupeDB like nxdupe, but i think it should work with any db that uses sqlite.

new archivetask looks like this now
Code:
  <task>
    <logFormat>ARCHIVE: &quot;Archive&quot; &quot;Moving {0} from {1} to {2}&quot;</logFormat>
    <status>Enabled</status>
    <actionType>Move</actionType>
    <source>E:\\temp\\TestFiles</source>
    <sourceVirtual>/temp/TestFiles/</sourceVirtual>
    <destination>E:\\temp\\archive</destination>
    <destinationVirtual>/archive/</destinationVirtual>
    <action id="TotalFolderUsedSpace">
      <value>12345000</value>
      <minFolderAction>2</minFolderAction>
    </action>
  </task>
new is:
sourceVirtual
destinationVirtual
logFormat
- add only if you wanna add text to ioFTPD.log when executing this task (for bot anounce)
jeza is offline   Reply With Quote