Solved

Update remote server text file using VB.net

Posted on 2008-10-22
2
547 Views
Last Modified: 2012-06-27
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.

Thanks,
Steve
0
Comment
Question by:sekoon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
Blackninja2007 earned 200 total points
ID: 22784950
Usless you are running some sort of service/web service on the server, surely your simply talking about file permissions on the server. The administrator should be able to setup a directory you can use to copy files to.

The only other ways I know of Secure Connection is :-

- setup something like a Secure FTP Server on the server itself and SFTP files from your machine
- use something like IIS Server with SSL and write web services
- Or write a client/server app using windows WCF with encryption between servers

Hope this helps

0
 

Author Closing Comment

by:sekoon
ID: 31509885
I will take the Web service approach, Thanks.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question