in a first time:
- I'm french and my english isn't perfect, i hope you will under stand what i'm doing and my question ^^
- I totally forgot from where i took this part of program, as i hate to copy without tell from where i take the code, if you recognize the code, tell me, i'll put the source
So, here we go:
i'm doing a multiple part programs (as an OS), but i want that all parts "installed" when you run the startup (still as an OS). So i looked many codes and found:
root = "http://pastebin.com/raw.php?i=18bq095q/" file = "startup" local response = http.get(root..file) if response then while response do local sResponse = response.readAll() response.close() cache = shell.resolve( file ) local file = fs.open( cache, "w" ) file.write( sResponse ) file.close() response = nil end end os.reboot()
But i'm always copying the pastebin's page source code ...
How can i fix that? =/












