Solved

Update remote server text file using VB.net

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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