File Patching

I apologize if this has been answered, point me to any info if it has been. For my application, I would like to create a patching system of sorts that downloads new files that the user may not have on his/her installation such as music files or image files. Is there any way (using hscript or plain old php) for me to download and save files to a directory within the applications directory?

Thanks for the support!

Well, you can use PHP to download the file(s) to the application’s folder. To get paths to the application’s folder or application’s data folder, see the doc for our global variables: http://www.exeoutput.com/help/globalvariables
You can also see the General Demo that comes with a sample about accessing local files.