what?
This commit is contained in:
@@ -1217,9 +1217,12 @@ Public Class frmIndex
|
||||
End If
|
||||
|
||||
Dim oStreamSuccessful = WINDREAM.NewFileStream(CURRENT_WORKFILE, CURRENT_NEWFILENAME)
|
||||
Dim oAbsFilename = $"\\windream\objects{CURRENT_NEWFILENAME}"
|
||||
|
||||
If File.Exists(oAbsFilename) And oStreamSuccessful Then
|
||||
LOGGER.Debug("File streamed to Windream: {0}", oStreamSuccessful)
|
||||
LOGGER.Debug("File exists in Destination: {0}", File.Exists(CURRENT_NEWFILENAME))
|
||||
LOGGER.Debug("File should be deleted: {0}", CONFIG.Config.DeleteOriginalFile)
|
||||
|
||||
If File.Exists(CURRENT_NEWFILENAME) And oStreamSuccessful Then
|
||||
If CONFIG.Config.DeleteOriginalFile = True Then
|
||||
Try
|
||||
My.Computer.FileSystem.DeleteFile(CURRENT_WORKFILE)
|
||||
|
||||
Reference in New Issue
Block a user