Updating?
Author |
Message |
Afrog2
|
Posted: Thu Jul 20, 2006 4:16 pm Post subject: Updating? |
|
|
How could I make a program connect to my site, and read from a .php script so that it can download a .txt and update itself? Like say downloading content for the program itself. Like updated news, and in the menu it will have the update link.
I just need to know how I could get it to download a file and overwrite itself (the old one). |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
beard0
![](http://ugray.be/compsci/silly.gif)
|
Posted: Wed Jul 26, 2006 5:44 pm Post subject: (No subject) |
|
|
Look in the turing help files at the Net. commands, as well as open. You can also check around this site for help with the specific components, comunicating over the internet, and writing files. Be careful with Net.OpenHTTPConnection, as it doesn't send enough headers to be compliant with many servers - you may need to open a basic connection, and read up on the Hyper Text Transfer Protocol (ever wonder what http stood for?). This is an excellent site: http://www.jmarshall.com/easy/http/ which I used to learn http when making a server in turing. |
|
|
|
|
![](images/spacer.gif) |
|
|