Jump to content




Getting a Pastebin code after uploading it


  • You cannot reply to this topic
4 replies to this topic

#1 Twijn

  • Members
  • 119 posts

Posted 10 August 2015 - 04: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?

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 10 August 2015 - 05: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.

#3 Twijn

  • Members
  • 119 posts

Posted 10 August 2015 - 05:26 PM

View PostKingofGamesYami, on 10 August 2015 - 05:08 PM, said:

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 by Twijn, 10 August 2015 - 05:26 PM.


#4 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 10 August 2015 - 05:27 PM

Literally just edit it.

>edit rom/programs/pastebin


#5 Twijn

  • Members
  • 119 posts

Posted 10 August 2015 - 05:28 PM

View PostKingofGamesYami, on 10 August 2015 - 05:27 PM, said:

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 by Twijn, 10 August 2015 - 05:30 PM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users