Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Updating?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Afrog2




PostPosted: 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).
Sponsor
Sponsor
Sponsor
sponsor
beard0




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: