Solved

Update remote server text file using VB.net

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now