134 posts
Location
Salt Lake, UT
Posted 30 June 2012 - 08:30 PM
Is there a way that you can upload text to a website? then the website would have that text posted?
77 posts
Location
United Kingdom, Earth
Posted 11 August 2013 - 03:57 AM
Run
Pastebin put FILENAME
This will upload it to pastebin.com. You should get a message saying what URL it is at.
Also note that this is a program, not code, and you also need an Internet connection and the HTTP API enabled (find it in you computercraft config file)
83 posts
Location
Behind you
Posted 11 August 2013 - 08:24 AM
http://computercraft.info/wiki/HTTP_(API) will come in handy for you.
If my inklings are correct, you can build a basic web browser using the simple functions listed on that wiki page.
Give it shot. Hopefully somebody with some REAL experience in this topic will soon come to the rescue.
Unfortunately, that person is not myself.
220 posts
Location
Germany
Posted 11 August 2013 - 08:46 AM
You can use the
Pastebin API to upload a text to Pastebin, using the http api.
If you want to upload a text to your website, you will need a php script or something similar.