This commit is contained in:
2022-05-09 12:15:29 +02:00
parent 3ea616dec9
commit f0770d1d51
7 changed files with 20 additions and 20 deletions

View File

@@ -169,10 +169,8 @@ Public Class ClassFolderwatcher
'Die Datei übergeben
Logger.Info(">> OnCreated-File:" & e.FullPath)
If FileHandle.CheckDuplicateFiles(e.FullPath, "FolderWatch/Scan") Then
FileHandle.Decide_FileHandle(e.FullPath, handleType)
Else
Logger.Info(">> Folderwatcher: File already exists:" & e.FullPath)
If FileHandle.Decide_FileHandle(e.FullPath, handleType) = True Then
My.Application.Globix.NEW_FILES = True
End If
Catch ex As Exception

View File

@@ -51,7 +51,7 @@ Public Class ClassUserFiles
oHash = ""
End Try
oSQL = "SELECT * FROM TBGI_FILES_USER WHERE FILE_HASH = '" & oHash & "' AND WORKED = 0 ORDER BY ADDED_WHEN"
oSQL = "SELECT * FROM TBGI_FILES_USER WHERE FILE_HASH = '" & oHash & "' AND WORKED = 0 ORDER BY ADDED_WHEN"
Dim oResult As DataTable = My.DatabaseECM.GetDatatable(oSQL)
If oResult Is Nothing Then

View File

@@ -10,6 +10,7 @@ Namespace Globix
Public Property CURRENT_SCAN_FOLDERWATCH As String
Public Property CurrentWorkfile As Models.WorkFile
Public Property INDEXING_ACTIVE As Boolean = False
Public Property NEW_FILES As Boolean = False
Public Property ABORT_INDEXING As Boolean = False
Public Property CURRENT_ISATTACHMENT As Boolean = False
Public Property DeleteOriginalFile As Boolean = False