View Full Version : JSFL and downloading files (saving to disk)

02-22-2006, 11:00 PM
So I have a problem I believe I want to solve using JSFL. I'd like to run a command from inside Flash that downloads files to disc, including component files. I would download the components to the Components folder and then reload the components panel (the latter I know how to do).
So, if I update a component for someone, I want them to from within Flash be able to get that update by running something like Commands > Get Component Updates from Kate.
My problem is, I can't seem to figure out how to activate a download. These are more than just text files, otherwise I would just FLfile methods in various combinations. But I can't seem to figure out how to
a) get a file from the web via HTTP
b) write that file to disk
Any thoughts? Thanks in advance!

02-23-2006, 05:04 PM
i suspect you would not be able to do this from within jsfl. jsfl however has a c extensibility layer and this is extremly feasible using that

02-23-2006, 07:22 PM
Thanks for the reply! I'll take a look into the C extensibility.