Update remote server text file using VB.net
Posted on 2008-10-22
I have an application I am writing in VB.Net and have it creating a text file locally and now am ready for the next test which it to update two remote servers. Because the data is slightly different (appended .db to so of the text lines) I need the application to create a seucre connection and writ the change to the two remote servers. Before i forget all these server are MIrcosoft Server 2003 SP2.
Here is an example of what I am trygin to do;
Primary server: Text File "c:\UpdateStats.txt"
Remote servers: Text File "c:\UpdateStats.db"
I am fairly new to writing code in .Net of any sort and select VB.Net since I felt more comfortable with it starting out.
Any help with code that will provide me with a secure connection between the servers to write out to the file updates would be appreciated. At the moment all the servers are on the same subnet with no blocking ports between them although this may not be the case later.