Solved

Update remote server text file using VB.net

Posted on 2008-10-22
2
544 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get hold of longitude and latitude in iframe string 11 46
compare between entities in entity framework 8 73
REXEX help Part 2 2 25
C# LINQ ForEach() question 6 28
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 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