15 posts
Posted 27 December 2014 - 10:55 AM
Hello I'm trying to get my programs to transfer from my pastebin to my computer using the simple pastebin get function in the terminal but it keeps saying Connecting to pastebin…… Failed I can navigate through pastebin.com just fine but unable to get files from their to my computer is this a bug? Change with Pastebin itself? Perhaps a config change btw I'm going on a public server where I had no access to the server files and the owner rarely comes on, I was told so can someone help me?
7083 posts
Location
Tasmania (AU)
Posted 27 December 2014 - 11:11 AM
Whether or not you have access to pastebin usually depends on whether ComputerCraft is configured to allow it. By default, most versions don't - they need to be tweaked to enable the http API.
If you type "lua" into the command prompt, then "type(http)", that should come back "table". If it instead tells you "nil", then the server is configured to block ComputerCraft from accessing the web.
188 posts
Location
Adelaide, Australia
Posted 27 December 2014 - 11:12 AM
The most probable answer is the server has http disabled ask a op or something with access to server files to enable it.
8543 posts
Posted 27 December 2014 - 07:14 PM
Make sure you have the pastebin paste ID code correct.
15 posts
Posted 27 December 2014 - 07:55 PM
The pastebin id code is correct and I tried on other pastebin id's and they still don't work and I did do the "type(http)" and it returned "table" So I don't know what the problem could be
8543 posts
Posted 27 December 2014 - 08:51 PM
Can you give us an example of how you're using the pastebin command?
15 posts
Posted 27 December 2014 - 10:17 PM
pastebin get N22T449A dark
7083 posts
Location
Tasmania (AU)
Posted 28 December 2014 - 12:10 AM
Well, it's certainly a
valid ID.
It may be worth looking at the computer you're using - if memory serves, the pastebin script will give much the same error for connection issues as it will for the drive of the computer being full or somesuch.
15 posts
Posted 28 December 2014 - 12:44 AM
Yah i barely made the Advanced computer and just labeled it but let me try to get another computer and see if it works
Edit: Yah it won't work on any Computer even if i do pastebin run N22T449A dr
Edited on 28 December 2014 - 04:00 AM
15 posts
Posted 28 December 2014 - 07:29 AM
So anything I can do?
Btw is this possible? Can a server get banned from pastebin?
remix, try to understand the problem before you "help."
If http were not enabled, he would get "No such program" when trying to call pastebin.
if the file already existed, he would get "File already exists"
I'm not sure what's wrong, but it's possible his server has been banned from pastebin, which can happen if your server is making too many pastebin requests.
Edited on 28 December 2014 - 08:04 AM