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: "Archive" "Moving {0} from {1} to {2}"</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)