diff --git a/Connectors.Form/Connectors.Form.vbproj b/Connectors.Form/Connectors.Form.vbproj
index 5634243..5521b7d 100644
--- a/Connectors.Form/Connectors.Form.vbproj
+++ b/Connectors.Form/Connectors.Form.vbproj
@@ -40,6 +40,9 @@
Connectors.Form.My.MyApplication
+
+ App.ico
+
@@ -148,7 +151,6 @@
Settings.settings
True
-
diff --git a/Connectors.Form/Modules/slt/sltSync.vb b/Connectors.Form/Modules/slt/sltSync.vb
index 96590fd..f65ff96 100644
--- a/Connectors.Form/Modules/slt/sltSync.vb
+++ b/Connectors.Form/Modules/slt/sltSync.vb
@@ -53,8 +53,14 @@ Namespace slt
AddInfoEntry("Document: [{0}]", oDocument.Name)
Logger.Info("ExtDocId: [{0}]", oDocument.ExtDocId)
- Dim oFileName = GetFilenameWithExtension(oDocument.Name, oDocument.DocMimeType)
- Dim oFilePath = Path.Combine(Config.OutputDirectory, oFileName)
+ Dim oDocumentName = GetFilenameWithExtension(oDocument.Name, oDocument.DocMimeType)
+ Dim oFileName = ConvertFilenameToSlug(oDocumentName)
+ Dim oSubPath = FileEx.CreateDateDirectory(Config.OutputDirectory)
+ If oSubPath Is Nothing Then
+ Throw New ApplicationException("Output sub path could not be created!")
+ End If
+ Dim oFilePath = Path.Combine(oSubPath, oFileName)
+ Logger.Debug("Subdirectory [{0}] created.", oSubPath)
If CopyFileToOutputPath(oDocument.Data, oFilePath) = False Then
Throw New ApplicationException("File could not be created in output path!")
diff --git a/Connectors.Form/My Project/Application.myapp b/Connectors.Form/My Project/Application.myapp
index 1243847..a22a917 100644
--- a/Connectors.Form/My Project/Application.myapp
+++ b/Connectors.Form/My Project/Application.myapp
@@ -1,11 +1,11 @@
-
+
true
- Form1
+ frmMain
false
0
true
0
- 0
true
-
+ false
+
\ No newline at end of file
diff --git a/Connectors.Form/My Project/AssemblyInfo.vb b/Connectors.Form/My Project/AssemblyInfo.vb
index 445d76c..af4f921 100644
--- a/Connectors.Form/My Project/AssemblyInfo.vb
+++ b/Connectors.Form/My Project/AssemblyInfo.vb
@@ -5,11 +5,11 @@ Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
-
+
-
+
diff --git a/Connectors.Form/packages.config b/Connectors.Form/packages.config
deleted file mode 100644
index 0ddda56..0000000
--- a/Connectors.Form/packages.config
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file