What I tried was using My.Computer.Network.DownloadFile()
, and created a shared folder in the other computer to do downloading stuff.
But, in fact I didn't know how to fill the path to the other computer, the error was: "...path not supported..."
How about this:
ServerName1 = cmbServerName1.Text.Trim()
database = cmbDataBase1.Text
If objdlg.ShowDialog = DialogResult.OK Then
My.Computer.Network.DownloadFile(New Uri("\\" & cmbservername1.Text & "\SharedNow\"), "C:\database.txt")
EndIf
Okay, that's what I did, and it's not working. Could someone help me, pls?