THREAD: File Downloader Code (For SPRX)
  1. 07-24-2017, 10:30 PM
    Tustin's Avatar
    Balls of Steel
    Tustin's Avatar
    Balls of Steel
    May 2008
    I wrote this code with the intention of making a auto updater for Lexicon a while back but ran into problems with file permissions so it was never used. Figured someone here could find it useful for something. You need to add this code to your sprx project, and then create a listening server in whatever language you want to serve the file.

    C++ code: (I can't remember if the progress bar thing worked properly or not)

    Server code (written in PHP =Z):

    This is a basic example that will help you get started. Although if you want to modify this any further you probably want to do some research on socket programming before messing with this.
    Last edited by Tustin ; 07-24-2017 at 10:34 PM.

  2. The Following 2 Users Say Thank You to Tustin For This Useful Post: