vb Code:
Dim remotePath As String = "\\192.168.1.118\Armada\" 'PC path
Dim localPath As String = "\Program Files\armada\armada.xml" 'Device Path
If Directory.Exists(remotePath) = False Then
MsgBox("Remote Path not Found")
Exit Sub
End If
Try
File.Copy(localPath, remotePath & "armada.xml")
Catch ex As Exception
MsgBox(ex.Message)
End Try
vb Code:
Dim remotePath As String = "\192.168.1.117\Program Files\" 'Device Path
Dim localPath As String = "C:\Jigsaw\eBUS\ARMADA_GATEWAY\eTASUpload\Resources\armada.xml" 'PC path
If Directory.Exists(remotePath) = False Then
MsgBox("Remote Path not Found")
Exit Sub
End If
Try
File.Copy(localPath, remotePath & "armada.xml")
Catch ex As Exception
MsgBox(ex.Message)
End Try