StartOptions
This commit is contained in:
@@ -23,6 +23,7 @@ Public Class frmNachrichtenVerarbeitung_MDM_divers
|
||||
Dim ids As New cIDS
|
||||
Dim programName As String
|
||||
Dim Dateiname = ""
|
||||
Public year As Integer
|
||||
|
||||
Sub New(programName As String)
|
||||
|
||||
@@ -115,7 +116,7 @@ Public Class frmNachrichtenVerarbeitung_MDM_divers
|
||||
If programName.Contains("RMC") Then
|
||||
DownloadFtpDirectory(rmc.API_STRING & "/", New NetworkCredential(rmc.API.Rows(0).Item("api_user").ToString, rmc.API.Rows(0).Item("api_password").ToString), "", cnt, deleteFilesAfterDownload)
|
||||
ElseIf programName.Contains("UTA") Then
|
||||
DownloadSFtpDirectory(uta.API_STRING, New NetworkCredential(uta.API.Rows(0).Item("api_user").ToString, uta.API.Rows(0).Item("api_password").ToString), "", cnt, deleteFilesAfterDownload, "/TRX/" & Now.Year, renameFilesAfterDownload)
|
||||
DownloadSFtpDirectory(uta.API_STRING, New NetworkCredential(uta.API.Rows(0).Item("api_user").ToString, uta.API.Rows(0).Item("api_password").ToString), "", cnt, deleteFilesAfterDownload, "/TRX/" & year, renameFilesAfterDownload)
|
||||
ElseIf programName.Contains("IDS") Then
|
||||
'keinFTP (NOCH NICHT)!
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user