473,379 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

downloading a software update code

17
Hello,

Our company has an application that are installed on our clients computer,
when the client wants to check for updates he click the update button from his installed application.

here is the problem:
the download works fine but it's using a specific i.p. address, which is our webserver. it's hard coded i.p. address like 192.61.80.01
we would like to make the download more general and use the url instead of hard coded i.p. address, meaning to use www.ourUrl.com.

this is in order to be more flexible and in a case that our web server is down
we can use a different server with different i.p.

does this make sense to you? let me know if you need more information.

any idea how to implement that or any guidance will be appreciated.
Nov 9 '08 #1
1 1153
joedeene
583 512MB
Well, you can always put an open text file on your server, so that no matter what server/ip is hosting it, it will have instructions, or maybe you can put the whole update on.

Ex: "www.myserver.com/myprogramsfolder/update34.txt"

Therefore, by downloading the text file, or whatever file you put on there, it will always be there no matter what IP. And to check which update you're on, record each previous update number...

If you are connecting to the IP address, via TCPClient connection then, I believe there are methods and such in the System.Net.DNS Class that you may find useful to return the IP of your server.

joedeene
Nov 9 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ASP Spam Fighter | last post by:
Hello all, I don't know how to get around this one... If anybody can help me with this problem, I would appreciate it very much. I've been trying to send a (large) file to the browser via a...
1
by: James | last post by:
I'm having a problem using the System.Net.WebClient to download .exes from a web server. I'm testing everything on localhost, and the same code works fine with all other types of file. I even tried...
6
by: Tony K | last post by:
I have the most peculiar problem with an ASP.NET page which we use for downloading a file. When the user clicks on a link, the link points to an ASPX page which downloads the file selected. ...
3
by: ACaunter | last post by:
Hi all, I was wondering if there was a way a client's machine could play audio or view a word document which is stored on the server, without having them download it first. This will be done over...
5
by: fniles | last post by:
We created an ActiveX control and marked it as safe for scripting using Implements IObjectSafety. We then created a CAB file and signed it using Verisign. We also created a license file (LPK file)...
3
by: lala9585 | last post by:
Okay, I've never done script before in my life. I am trying to update two different websites: one is in html format and uses Netscape Composer as the editing software, and then I use WS_FTP to...
6
by: cyusman | last post by:
Hi, We have just moved our application to a new webfarm server environment which utilizing hardware load balancing, SSL off-loading and HTTP compression off-loading.My application is running on...
8
monirul arfin
by: monirul arfin | last post by:
Hi all, I want to prevent downloading & installing software in my computer by others. So no one can download or Install software in my computer. Is there any optoin. Please Suggest me. And it is...
2
Markus
by: Markus | last post by:
I want the download button to update while a file download is in progress - "Connecting", "Downloading..", etc. But with the code below, it does not update the text. I've read about...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.