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

Getting a Pastebin code after uploading it

Started by Twijn, 10 August 2015 - 03:45 PM
Twijn #1
Posted 10 August 2015 - 05:45 PM
What I want to do is upload a file to Pastebin then get the code that it just uploaded and write it to a file. Is it possible to do this?
KingofGamesYami #2
Posted 10 August 2015 - 06:08 PM
Of course. If it wasn't possible, how could the built-in pastebin program do it? Perhaps a look at rom/programs/pastebin would help you out.
Twijn #3
Posted 10 August 2015 - 06:26 PM
Of course. If it wasn't possible, how could the built-in pastebin program do it? Perhaps a look at rom/programs/pastebin would help you out.

I don't exactly know how to look at rom/programs/pastebin…
Edited on 10 August 2015 - 04:26 PM
KingofGamesYami #4
Posted 10 August 2015 - 06:27 PM
Literally just edit it.


>edit rom/programs/pastebin
Twijn #5
Posted 10 August 2015 - 06:28 PM
Literally just edit it.


>edit rom/programs/pastebin
It shows up with a blank edit screen…

EDIT: I figured it out. It's actually rom/programs/http/pastebin
Edited on 10 August 2015 - 04:30 PM