Old 02-24-2013, 03:27 AM   #61
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

update : jeza.ioFTPD.Framework (replace existing files)

DataSourceDupeUpdateCommand can now use next parameters
Code:
{0} : releaseName
{1} : realPath (full path + releasename)
{2} : virtualPath (full virtual path + releasename)
{3} : DestinationVirtual (from config)
{4} : Destination (from config)
{5} : SourceVirtual (from config)
{6} : Source (from config)
{7} : realpath (without releasename)
for the error 'System.Runtime.InteropServices.COMException (0x80090006):' i still have no idea.
workaround is to use windows task instead of scheduler in ioFTPD and set
Code:
<add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />
to ioFTPD.log
jeza is offline   Reply With Quote
Old 02-24-2013, 02:56 PM   #62
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Quote:
Originally Posted by jeza View Post
for the error 'System.Runtime.InteropServices.COMException (0x80090006):' i still have no idea.
workaround is to use windows task instead of scheduler in ioFTPD and set
Code:
<add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />
to ioFTPD.log
Hi jeza,

thank you for the quick reply.

I don`t understand, what i do now with:
add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />[/CODE] to ioFTPD.log

Can you explain?

Sorry about my terrible english

Greetings,
Mongi
MONGi is offline   Reply With Quote
Old 02-24-2013, 03:34 PM   #63
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

change it to ioFTPD.log location
example:
Code:
<add key="FileNameInternalLog" value="c:\\ioFTPD\\logs\\ioFTPD.log" />
when you now execute the program from windows task, it will write a line into ioFTPD.log file for the anounce.
jeza is offline   Reply With Quote
Old 02-27-2013, 10:21 AM   #64
xy0thep
Junior Member
 
Join Date: Nov 2012
Posts: 8
Default

Quote:
Originally Posted by jeza View Post
update : jeza.ioFTPD.Framework (replace existing files)

DataSourceDupeUpdateCommand can now use next parameters
Code:
{0} : releaseName
{1} : realPath (full path + releasename)
{2} : virtualPath (full virtual path + releasename)
{3} : DestinationVirtual (from config)
{4} : Destination (from config)
{5} : SourceVirtual (from config)
{6} : Source (from config)
{7} : realpath (without releasename)
for the error 'System.Runtime.InteropServices.COMException (0x80090006):' i still have no idea.
workaround is to use windows task instead of scheduler in ioFTPD and set
Code:
<add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />
to ioFTPD.log
first thanks for the implementation/modification. i copied over the new files and didnt change anything in settings. i had no problems anymore so far before.

OS is WinXP SP3 running virtually in a Win7x64. .NET Framework is v4.0

however i encountered a few new errors now

Case 1 ( <add key="DataSourceDupeUpdateCommand" value="UPDATE DupeDirs SET DirPath = '{3}' WHERE DirName = '{0}'"/> ); occurs aswell when you set DirPath = '{7}:

Code:
2013-02-27 15:46:24] --------------------------------------------------------------
[2013-02-27 15:46:24] Archive...
[2013-02-27 15:46:24] Assembly.GetExecutingAssembly().Location: ['C:\ioFTPD\scripts\ArchiveScript\jeza.ioFTPD.Framework.dll']
[2013-02-27 15:46:24] Starting with task: ['ArchiveType: Move, ArchiveStatus: Enabled, Source: 'C:\\ioFTPD\\FTP-ROOT-DIR\\Incoming', Destination: 'F:\\Archive', Action: [Id: TotalFolderCount, Value: 10, MinFolderAction: 8], LogFormat: 'ARCHIVE: "moving \00302,08\002{0}\002\003 from \002{1}\002 to \002{2}\002"'']
[2013-02-27 15:46:24] ExecuteArchiveTask 'TotalFolderCount' on 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS'!
[2013-02-27 15:46:24] Source Folder     : 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS'
[2013-02-27 15:46:24] Destination Folder: 'F:\Archive'
[2013-02-27 15:46:24] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS' to 'F:\Archive\ATEST-RLS'
[2013-02-27 15:46:24] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\.ioFTPD.backup' to 'F:\Archive\ATEST-RLS\.ioFTPD.backup'
[2013-02-27 15:46:24] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file0.zip' to 'F:\Archive\ATEST-RLS\file0.zip'
[2013-02-27 15:46:25] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file1.zip' to 'F:\Archive\ATEST-RLS\file1.zip'
[2013-02-27 15:46:25] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file10.zip' to 'F:\Archive\ATEST-RLS\file10.zip'
[2013-02-27 15:46:26] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file11.zip' to 'F:\Archive\ATEST-RLS\file11.zip'
[2013-02-27 15:46:27] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file12.zip' to 'F:\Archive\ATEST-RLS\file12.zip'
[2013-02-27 15:46:28] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file13.zip' to 'F:\Archive\ATEST-RLS\file13.zip'
[2013-02-27 15:46:28] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file14.zip' to 'F:\Archive\ATEST-RLS\file14.zip'
[2013-02-27 15:46:29] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file15.zip' to 'F:\Archive\ATEST-RLS\file15.zip'
[2013-02-27 15:46:29] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file16.zip' to 'F:\Archive\ATEST-RLS\file16.zip'
[2013-02-27 15:46:31] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file17.zip' to 'F:\Archive\ATEST-RLS\file17.zip'
[2013-02-27 15:46:32] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file18.zip' to 'F:\Archive\ATEST-RLS\file18.zip'
[2013-02-27 15:46:33] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file19.zip' to 'F:\Archive\ATEST-RLS\file19.zip'
[2013-02-27 15:46:35] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file2.zip' to 'F:\Archive\ATEST-RLS\file2.zip'
[2013-02-27 15:46:36] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file20.zip' to 'F:\Archive\ATEST-RLS\file20.zip'
[2013-02-27 15:46:37] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file21.zip' to 'F:\Archive\ATEST-RLS\file21.zip'
[2013-02-27 15:46:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file22.zip' to 'F:\Archive\ATEST-RLS\file22.zip'
[2013-02-27 15:46:40] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file23.zip' to 'F:\Archive\ATEST-RLS\file23.zip'
[2013-02-27 15:46:41] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file24.zip' to 'F:\Archive\ATEST-RLS\file24.zip'
[2013-02-27 15:46:42] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file25.zip' to 'F:\Archive\ATEST-RLS\file25.zip'
[2013-02-27 15:46:42] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file26.zip' to 'F:\Archive\ATEST-RLS\file26.zip'
[2013-02-27 15:46:42] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file27.zip' to 'F:\Archive\ATEST-RLS\file27.zip'
[2013-02-27 15:46:44] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file28.zip' to 'F:\Archive\ATEST-RLS\file28.zip'
[2013-02-27 15:46:45] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file29.zip' to 'F:\Archive\ATEST-RLS\file29.zip'
[2013-02-27 15:46:46] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file3.zip' to 'F:\Archive\ATEST-RLS\file3.zip'
[2013-02-27 15:46:47] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file30.zip' to 'F:\Archive\ATEST-RLS\file30.zip'
[2013-02-27 15:46:48] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file4.zip' to 'F:\Archive\ATEST-RLS\file4.zip'
[2013-02-27 15:46:50] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file5.zip' to 'F:\Archive\ATEST-RLS\file5.zip'
[2013-02-27 15:46:51] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file6.zip' to 'F:\Archive\ATEST-RLS\file6.zip'
[2013-02-27 15:46:52] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file7.zip' to 'F:\Archive\ATEST-RLS\file7.zip'
[2013-02-27 15:46:53] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file8.zip' to 'F:\Archive\ATEST-RLS\file8.zip'
[2013-02-27 15:46:54] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file9.zip' to 'F:\Archive\ATEST-RLS\file9.zip'
[2013-02-27 15:46:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file_id.diz' to 'F:\Archive\ATEST-RLS\file_id.diz'
[2013-02-27 15:46:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\rls.nfo' to 'F:\Archive\ATEST-RLS\rls.nfo'
[2013-02-27 15:46:55] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\( 147MB 31F - COMPLETE )' to 'F:\Archive\ATEST-RLS\( 147MB 31F - COMPLETE )'
[2013-02-27 15:46:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\( 147MB 31F - COMPLETE )\.ioFTPD' to 'F:\Archive\ATEST-RLS\( 147MB 31F - COMPLETE )\.ioFTPD'
[2013-02-27 15:46:55] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample' to 'F:\Archive\ATEST-RLS\Sample'
[2013-02-27 15:46:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample\.ioFTPD' to 'F:\Archive\ATEST-RLS\Sample\.ioFTPD'
[2013-02-27 15:46:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample\jay028spf_274022113.jpg' to 'F:\Archive\ATEST-RLS\Sample\jay028spf_274022113.jpg'
[2013-02-27 15:46:55] DeleteFile: 'F:\Archive\ATEST-RLS\.ioFTPD'
[2013-02-27 15:46:55] File not found! 'F:\Archive\ATEST-RLS\.ioFTPD'
[2013-02-27 15:46:55] Updating DUPEDB with 'UPDATE DupeDirs SET DirPath = '{3}' WHERE DirName = '{0}''
[2013-02-27 15:46:55] DUPEDB : 'Data Source=c:\\ioFTPD\\scripts\\nxTools\\data\\DupeDirs.db'
[2013-02-27 15:46:55] releaseName='ATEST-RLS', realPath='C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS', virtualPath='/Archive//ATEST-RLS'
[2013-02-27 15:46:56] System.FormatException: Der Index, basierend auf 0 (null), muss größer als oder gleich Null sein, und kleiner als die Größe der Argumentenliste.
   bei System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   bei System.String.Format(IFormatProvider provider, String format, Object[] args)
   bei System.String.Format(String format, Object arg0, Object arg1, Object arg2)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.UpdateDupeDb(ArchiveTask archiveTask, DirectoryInfo directoryInfo)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTask(ArchiveTask archiveTask, DirectoryInfo directoryInfo)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTask(ArchiveTask archiveTask, List`1 sourceFolders)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTasks()
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.Execute(TaskType taskType)
   bei jeza.ioFTPD.Archive.Program.Main()
Case 2 ( <add key="DataSourceDupeUpdateCommand" value="UPDATE DupeDirs SET DirPath = '{2}' WHERE DirName = '{0}'"/> ):

Code:
[2013-02-27 15:48:37] --------------------------------------------------------------
[2013-02-27 15:48:37] Archive...
[2013-02-27 15:48:37] Assembly.GetExecutingAssembly().Location: ['C:\ioFTPD\scripts\ArchiveScript\jeza.ioFTPD.Framework.dll']
[2013-02-27 15:48:38] Starting with task: ['ArchiveType: Move, ArchiveStatus: Enabled, Source: 'C:\\ioFTPD\\FTP-ROOT-DIR\\Incoming', Destination: 'F:\\Archive', Action: [Id: TotalFolderCount, Value: 10, MinFolderAction: 8], LogFormat: 'ARCHIVE: "moving \00302,08\002{0}\002\003 from \002{1}\002 to \002{2}\002"'']
[2013-02-27 15:48:38] ExecuteArchiveTask 'TotalFolderCount' on 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS'!
[2013-02-27 15:48:38] Source Folder     : 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS'
[2013-02-27 15:48:38] Destination Folder: 'F:\Archive'
[2013-02-27 15:48:38] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS' to 'F:\Archive\ATEST-RLS'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\.ioFTPD.backup' to 'F:\Archive\ATEST-RLS\.ioFTPD.backup'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file0.zip' to 'F:\Archive\ATEST-RLS\file0.zip'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file1.zip' to 'F:\Archive\ATEST-RLS\file1.zip'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file10.zip' to 'F:\Archive\ATEST-RLS\file10.zip'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file11.zip' to 'F:\Archive\ATEST-RLS\file11.zip'
[2013-02-27 15:48:38] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file12.zip' to 'F:\Archive\ATEST-RLS\file12.zip'
[2013-02-27 15:48:39] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file13.zip' to 'F:\Archive\ATEST-RLS\file13.zip'
[2013-02-27 15:48:40] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file14.zip' to 'F:\Archive\ATEST-RLS\file14.zip'
[2013-02-27 15:48:42] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file15.zip' to 'F:\Archive\ATEST-RLS\file15.zip'
[2013-02-27 15:48:42] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file16.zip' to 'F:\Archive\ATEST-RLS\file16.zip'
[2013-02-27 15:48:44] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file17.zip' to 'F:\Archive\ATEST-RLS\file17.zip'
[2013-02-27 15:48:46] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file18.zip' to 'F:\Archive\ATEST-RLS\file18.zip'
[2013-02-27 15:48:47] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file19.zip' to 'F:\Archive\ATEST-RLS\file19.zip'
[2013-02-27 15:48:48] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file2.zip' to 'F:\Archive\ATEST-RLS\file2.zip'
[2013-02-27 15:48:49] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file20.zip' to 'F:\Archive\ATEST-RLS\file20.zip'
[2013-02-27 15:48:50] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file21.zip' to 'F:\Archive\ATEST-RLS\file21.zip'
[2013-02-27 15:48:51] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file22.zip' to 'F:\Archive\ATEST-RLS\file22.zip'
[2013-02-27 15:48:52] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file23.zip' to 'F:\Archive\ATEST-RLS\file23.zip'
[2013-02-27 15:48:53] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file24.zip' to 'F:\Archive\ATEST-RLS\file24.zip'
[2013-02-27 15:48:55] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file25.zip' to 'F:\Archive\ATEST-RLS\file25.zip'
[2013-02-27 15:48:56] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file26.zip' to 'F:\Archive\ATEST-RLS\file26.zip'
[2013-02-27 15:48:57] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file27.zip' to 'F:\Archive\ATEST-RLS\file27.zip'
[2013-02-27 15:48:58] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file28.zip' to 'F:\Archive\ATEST-RLS\file28.zip'
[2013-02-27 15:48:59] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file29.zip' to 'F:\Archive\ATEST-RLS\file29.zip'
[2013-02-27 15:49:00] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file3.zip' to 'F:\Archive\ATEST-RLS\file3.zip'
[2013-02-27 15:49:00] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file30.zip' to 'F:\Archive\ATEST-RLS\file30.zip'
[2013-02-27 15:49:02] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file4.zip' to 'F:\Archive\ATEST-RLS\file4.zip'
[2013-02-27 15:49:03] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file5.zip' to 'F:\Archive\ATEST-RLS\file5.zip'
[2013-02-27 15:49:04] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file6.zip' to 'F:\Archive\ATEST-RLS\file6.zip'
[2013-02-27 15:49:05] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file7.zip' to 'F:\Archive\ATEST-RLS\file7.zip'
[2013-02-27 15:49:06] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file8.zip' to 'F:\Archive\ATEST-RLS\file8.zip'
[2013-02-27 15:49:07] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file9.zip' to 'F:\Archive\ATEST-RLS\file9.zip'
[2013-02-27 15:49:08] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\file_id.diz' to 'F:\Archive\ATEST-RLS\file_id.diz'
[2013-02-27 15:49:08] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\rls.nfo' to 'F:\Archive\ATEST-RLS\rls.nfo'
[2013-02-27 15:49:08] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\( 147MB 31F - COMPLETE )' to 'F:\Archive\ATEST-RLS\( 147MB 31F - COMPLETE )'
[2013-02-27 15:49:08] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\( 147MB 31F - COMPLETE )\.ioFTPD' to 'F:\Archive\ATEST-RLS\( 147MB 31F - COMPLETE )\.ioFTPD'
[2013-02-27 15:49:08] CopyTo: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample' to 'F:\Archive\ATEST-RLS\Sample'
[2013-02-27 15:49:08] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample\.ioFTPD' to 'F:\Archive\ATEST-RLS\Sample\.ioFTPD'
[2013-02-27 15:49:08] CopyFile: 'C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS\Sample\jay028spf_274022113.jpg' to 'F:\Archive\ATEST-RLS\Sample\jay028spf_274022113.jpg'
[2013-02-27 15:49:09] DeleteFile: 'F:\Archive\ATEST-RLS\.ioFTPD'
[2013-02-27 15:49:09] File not found! 'F:\Archive\ATEST-RLS\.ioFTPD'
[2013-02-27 15:49:09] Updating DUPEDB with 'UPDATE DupeDirs SET DirPath = '{2}' WHERE DirName = '{0}''
[2013-02-27 15:49:09] DUPEDB : 'Data Source=c:\\ioFTPD\\scripts\\nxTools\\data\\DupeDirs.db'
[2013-02-27 15:49:09] releaseName='ATEST-RLS', realPath='C:\ioFTPD\FTP-ROOT-DIR\Incoming\ATEST-RLS', virtualPath='/Archive//ATEST-RLS'
[2013-02-27 15:49:09] System.BadImageFormatException: Die Datei oder Assembly "System.Data.SQLite, Version=1.0.76.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Dateiname: "System.Data.SQLite, Version=1.0.76.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"
   bei jeza.ioFTPD.Framework.DataBase.ExecuteNonQuery(String commandText)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.UpdateDupeDb(ArchiveTask archiveTask, DirectoryInfo directoryInfo)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTask(ArchiveTask archiveTask, DirectoryInfo directoryInfo)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTask(ArchiveTask archiveTask, List`1 sourceFolders)
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchiveTasks()
   bei jeza.ioFTPD.Framework.ConsoleAppTasks.Execute(TaskType taskType)
   bei jeza.ioFTPD.Archive.Program.Main()

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.
Since my system language is German i'll translate you the german text passages:

- on case 1 it tells like "[2013-02-27 15:46:56] System.FormatException: Index, based on 0 (null)needs to be greater or equal 0, also smaller than the size of the argument list.
at ..."

- on case 2 "[2013-02-27 15:49:09] System.BadImageFormatException: File or Assembly "System.Data.SQLite, Version=1.0.76.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" or a dependency of that wasn't found. It was tried to load a file with a wrong format.
Filename: "System.Data.SQLite, Version=1.0.76.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"
at jeza.ioFTPD.Framework.DataBase.ExecuteNonQuery(Str ing commandText)
at jeza.ioFTPD.Framework.ConsoleAppTasks.UpdateDupeDb (ArchiveTask archiveTask, DirectoryInfo directoryInfo)
at jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchi veTask(ArchiveTask archiveTask, DirectoryInfo directoryInfo)
at jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchi veTask(ArchiveTask archiveTask, List`1 sourceFolders)
at jeza.ioFTPD.Framework.ConsoleAppTasks.ExecuteArchi veTasks()
at jeza.ioFTPD.Framework.ConsoleAppTasks.Execute(Task Type taskType)
at jeza.ioFTPD.Archive.Program.Main()

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen."

last part i guess is just a framework info, so i didnt translate it.

thx for reply in advance
xy0thep is offline   Reply With Quote
Old 03-05-2013, 02:13 AM   #65
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

i will check it on weekend.

the second issue is probably wrong dll for sqlite.
make sure you use the 32 bit version on 32 bit machine
and 64 on 64 machine.

maybe becasue you run x64 win7 on x86 machine with XP?
jeza is offline   Reply With Quote
Old 03-05-2013, 12:49 PM   #66
xy0thep
Junior Member
 
Join Date: Nov 2012
Posts: 8
Default

thx for checking...

yeah maybe that could be the issue..

im running win7 x64 and tested on windows virtual pc (its XP x86).
however framework 4.0 is installed within virtual and so probably is 32bit.

gotta backup my original ioFTPD within win7 and check again.

but im not getting ANY of those two errors when using your dupescript (also in virtual environment) so maybe its not the x64/x86 problem? im confused...

EDIT: i just tried it on the original configuration and its working perfectly fine!!!

so u dont have to look into it, must have been interferences between a x64 host and a x86 virtual environment...

thx for your modification again

Last edited by xy0thep; 03-05-2013 at 01:05 PM.
xy0thep is offline   Reply With Quote
Old 03-09-2013, 03:32 AM   #67
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

update ...
replace the existing files...
http://jezatools.googlecode.com/file...D.Framework.7z
jeza is offline   Reply With Quote
Old 04-03-2013, 06:55 AM   #68
molbob
Junior Member
 
Join Date: Apr 2013
Posts: 1
Default

Is there a way to ....
a. "site rescan all"`?
b. only add dirs to dupedb, not single files?

thx
molbob is offline   Reply With Quote
Old 04-03-2013, 11:43 PM   #69
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

try "site rescan"
dupe works only for folders, not for files
jeza is offline   Reply With Quote
Old 04-14-2013, 11:33 PM   #70
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default Folders to multiple partitions in a folder

Hi all,

I created a folder "_NUKED" and would now like that happens all the folders in which the word "NUKED" in the title, will be moved into the "_NUKED" directory.
Because, logically, there are several directories on the FTP I ask myself the question, as in this case, the configuration must look like.
my configuration looks like this, but there are only folders from the "MP3" moved, not from "MP3 ABOOK". My guess is the "-" causes Problems.

Example:

<task>
<regExpressionInclude>\S*(NUKED)\S*</regExpressionInclude>
<status>Enabled</status>
<actionType>Move</actionType>
<source>H:\\MP3</source>
<source>H:\\MP3-ABOOK</source>
<destination>D:\\ioFTPD\\sites\\_NUKED</destination>
<action id="TotalFolderCount">
<value>0</value>
<minFolderAction>0</minFolderAction>
</Action>

Does anyone have an idea?

Only "<source>H:\\</source>" dont work too.

Thanks for any help

Sorry, my english...

Regards,
Mongi
MONGi is offline   Reply With Quote
Old 04-15-2013, 07:10 AM   #71
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

create 2 tasks:
Code:
	<task>
		<regExpressionInclude>\S*(NUKED)\S*</regExpressionInclude>
		<status>Enabled</status>
		<actionType>Move</actionType>
		<source>H:\\MP3</source>
		<destination>D:\\ioFTPD\\sites\\_NUKED</destination>
		<action id="TotalFolderCount">
			<value>0</value>
			<minFolderAction>0</minFolderAction>
		</Action>
	</task>
	<task>
		<regExpressionInclude>\S*(NUKED)\S*</regExpressionInclude>
		<status>Enabled</status>
		<actionType>Move</actionType>
		<source>H:\\MP3-ABOOK</source>
		<destination>D:\\ioFTPD\\sites\\_NUKED</destination>
		<action id="TotalFolderCount">
			<value>0</value>
			<minFolderAction>0</minFolderAction>
		</Action>
	</task>
jeza is offline   Reply With Quote
Old 04-15-2013, 01:43 PM   #72
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Hello jeza,

thanks for your quick response.

I tested your resume two days ago, it does not hatt.
From the "MP3" they were moved, not only from the "A-BOOKS". Nuked folders were included in both lists!

Any ideas?

Greetings


EDIT:

Hello, i`ve tested again and now it will work

Have follow missed:

<task>
<regExpressionInclude>\S*(NUKED)\S*</regExpressionInclude>
<status>Enabled</status>
<actionType>Move</actionType>
<source>H:\\MP3-ABOOK</source>
<destination>D:\\ioFTPD\\sites\\_NUKED</destination>
<action id="TotalFolderCount">
<value>0</value>
<minFolderAction>0</minFolderAction>
------------------------> </Action>
</task>

Last edited by MONGi; 04-15-2013 at 03:12 PM.
MONGi is offline   Reply With Quote
Old 04-28-2013, 05:06 AM   #73
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default Move folders after a certain time -> Error

Hello,

i have a new question:

I want to move one or more folders with the entire contents after a certain time (f.e. 1day).
From I:/Test1 to I:/Test2

My Code:
Code:
  
    <task>
    <status>Enabled</status>
    <actionType>MOVE</actionType>
    <source>I:\\Test1</source>
    <destination>I:\\Test2</destination>
    <action id="DateOlder">
      <value>1</value>
      <minFolderAction>1</minFolderAction>
    </action>
  </Task>
My LOG:
Code:
[2013-04-28 11:22:18] Archive...
[2013-04-28 11:22:18] Assembly.GetExecutingAssembly().Location: ['D:\ioFTPD\scripts\jeza.ioFTPD.ArchiveScript\jeza.ioFTPD.Framework.dll']
[2013-04-28 11:22:18] System.InvalidOperationException: There is an error in XML document (156, 6). ---> System.InvalidOperationException: Instance validation error: 'MOVE' is not a valid value for ArchiveType.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read1_ArchiveType(String s)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read6_ArchiveTask(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read13_TaskConfiguration(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read14_tasks()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at jeza.ioFTPD.Framework.Extensions.Deserialize[T](T xmlObject, String fileName, String defaultNamespace) in D:\jezatools\googlecode\trunk\ioFTPD\jeza.ioFTPD.Framework\Extensions.cs:line 362
   at jeza.ioFTPD.Framework.ConsoleAppTasks.ParseConfig() in D:\jezatools\googlecode\trunk\ioFTPD\jeza.ioFTPD.Framework\ConsoleAppTasks.cs:line 42
   at jeza.ioFTPD.Archive.Program.Main()
What exactly I am doing wrong?

Thanks for all answer

Greetings,
Mongi
MONGi is offline   Reply With Quote
Old 04-28-2013, 07:41 AM   #74
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Quote:
Originally Posted by MONGi View Post
Hello,

i have a new question:

I want to move one or more folders with the entire contents after a certain time (f.e. 1day).
From I:/Test1 to I:/Test2

My Code:
Code:
  
    <task>
    <status>Enabled</status>
    <actionType>MOVE</actionType>
    <source>I:\\Test1</source>
    <destination>I:\\Test2</destination>
    <action id="DateOlder">
      <value>1</value>
      <minFolderAction>1</minFolderAction>
    </action>
  </Task>
My LOG:
Code:
[2013-04-28 11:22:18] Archive...
[2013-04-28 11:22:18] Assembly.GetExecutingAssembly().Location: ['D:\ioFTPD\scripts\jeza.ioFTPD.ArchiveScript\jeza.ioFTPD.Framework.dll']
[2013-04-28 11:22:18] System.InvalidOperationException: There is an error in XML document (156, 6). ---> System.InvalidOperationException: Instance validation error: 'MOVE' is not a valid value for ArchiveType.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read1_ArchiveType(String s)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read6_ArchiveTask(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read13_TaskConfiguration(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTaskConfiguration.Read14_tasks()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at jeza.ioFTPD.Framework.Extensions.Deserialize[T](T xmlObject, String fileName, String defaultNamespace) in D:\jezatools\googlecode\trunk\ioFTPD\jeza.ioFTPD.Framework\Extensions.cs:line 362
   at jeza.ioFTPD.Framework.ConsoleAppTasks.ParseConfig() in D:\jezatools\googlecode\trunk\ioFTPD\jeza.ioFTPD.Framework\ConsoleAppTasks.cs:line 42
   at jeza.ioFTPD.Archive.Program.Main()
What exactly I am doing wrong?

Thanks for all answer

Greetings,
Mongi
Hello,

i'm so stupid...ive changed only "MOVE" to "Move" and all work fine.

Thanks
MONGi is offline   Reply With Quote
Old 01-09-2014, 10:19 AM   #75
Hans_
Junior Member
 
Join Date: Feb 2012
Posts: 28
Default

Quote:
Originally Posted by jeza View Post
update : jeza.ioFTPD.Framework (replace existing files)

DataSourceDupeUpdateCommand can now use next parameters
Code:
{0} : releaseName
{1} : realPath (full path + releasename)
{2} : virtualPath (full virtual path + releasename)
{3} : DestinationVirtual (from config)
{4} : Destination (from config)
{5} : SourceVirtual (from config)
{6} : Source (from config)
{7} : realpath (without releasename)
for the error 'System.Runtime.InteropServices.COMException (0x80090006):' i still have no idea.
workaround is to use windows task instead of scheduler in ioFTPD and set
Code:
<add key="FileNameInternalLog" value="e:\\server\\ioFTPD\\logs\\jeza.ioFTPD.log" />
to ioFTPD.log
hey jeza,

hope your a well and had a good start in to the new year so far...

is the framework update allready included in Version : 4.6.50.621 ?

how is development going regarding jeza tools? will there be a new version soon? (speed / bug improvments)

take care and keep up the good work your doing!

thank you and take care
Hans_ is offline   Reply With Quote
Reply

Tags
jeza, manager, releases, script, zip

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 12:17 AM.

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