Post: File Downloader Code (For SPRX)
07-24-2017, 10:30 PM #1
Tustin
Balls of Steel
(adsbygoogle = window.adsbygoogle || []).push({}); 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.

The following 2 users say thank you to Tustin for this useful post:

PhucedMODZ, Smoulougde

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo