Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Update remote server text file using VB.net

Posted on 2008-10-22
2
Medium Priority
?
552 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 600 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

715 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