This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Engineer's profile picture

HTTP

Started by Engineer, 22 March 2013 - 08:45 PM
Engineer #1
Posted 22 March 2013 - 09:45 PM
Hello guys,

Ive made an installer for my OS, wich is not going to be released anytime soon. But I am having trouble with some HTTP, in this code:

http://pastebin.com/q5BheTsj (partially installer, all the things where it uses HTTP)

For some reason it always fails, on a side not: it worked before. I can use the pastebin program but my pastebin fnction is a rip-off from that. I dont want to use shell.run("pastebin get code") just because I hate that it prints that download succesfull etc.

I hope you guys can figure this out.

Thanks in advance

Engineer

Note: tPB is defined but not ready for publicity because it are the actual pastebin links and file names.
KaoS #2
Posted 23 March 2013 - 03:20 AM
your code seems fine… are you sure that tPB is formatted correctly and has correct pastebin codes?
Engineer #3
Posted 23 March 2013 - 04:34 AM
Wow, I have just realised I deleted those on pastebin for several reasons. Im an idiot, sorry for the nuisance.
KaoS #4
Posted 23 March 2013 - 04:41 AM
haha no problem :)/> I actually made a very similar mistake on my auto updater for KaoShell so I can relate. luckily I spotted it before posting it lol