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

What is the best development program hoster? For CC autoupdaters?

Started by aura, 09 November 2012 - 03:54 PM
aura #1
Posted 09 November 2012 - 04:54 PM
Ive ran across many options and I dont know what is the BEST file hoster for a CC program that auto-updates.
Ive seen:
  • drive.google.com - hosts files for free, probably has fast connections and wont give IP bans.
  • pastebin.com - hosts files for free, limited to 25 pastes per day, limited private, gives IP bans to areas that overload the servers.
  • github.com - fast hosting, but annoying gui.
  • dropbox.com - moderately fast hosting, however no longer has public folder making dropbox virtually worthless.
Is there any others we should know about? What do you use and how does it work for you?
D3matt #2
Posted 09 November 2012 - 04:58 PM
Microsoft Live Cloud is fast, as far as I know doesn't give IP bans, and supports public files.

But to be fair, speed is of pretty much nil concern for anything you'll be doing in CC. Even the largest of CC programs is still small by modern standards.
aura #3
Posted 09 November 2012 - 05:11 PM
Speed is a large factor in the production and redistribution of programs and operating systems that have auto-updaters… especially ones with spam loads of programs. For pastebin it takes at least 2 seconds each program and some servers cant connect to pastebin.

The faster, the better, and the more connections you can make in a short amount of time, the better.
Nevertheless Im looking for the best service instead of saying "CC programs arent worth it.", I say "Thats not good enough" and thats why Im here looking for the best service.
aura #4
Posted 09 November 2012 - 05:25 PM
How good was it?
Tiin57 #5
Posted 09 November 2012 - 06:21 PM
…but since you've been arguing with me I wont tell you what I dislike about it.
That's a great way to be an ***. (Cloudy dislikes cursing, apparently)
aura #6
Posted 09 November 2012 - 06:25 PM
MechaTallon, acting this way gets no one anywhere, and this thread is for everyone to read, Im probably not the only one looking for a decent answer here.
AfterLifeLochie #7
Posted 09 November 2012 - 06:31 PM
Ive ran across many options and I dont know what is the BEST file hoster for a CC program that auto-updates.
Ive seen:
  • drive.google.com - hosts files for free, probably has fast connections and wont give IP bans.
  • pastebin.com - hosts files for free, limited to 25 pastes per day, limited private, gives IP bans to areas that overload the servers.
  • github.com - fast hosting, but annoying gui.
  • dropbox.com - moderately fast hosting, however no longer has public folder making dropbox virtually worthless.
Is there any others we should know about? What do you use and how does it work for you?

Personally, I generally use my own HTTP-server to upload and download my code. I have one downloader (hosted on Pastebin) that just pulls down code from the HTTP-server. It works okay for me, and I haven't had issues with it. There are plenty of free places you can drop scripts to, if you're willing to use your own HTTP server to do it. All you need to do is tweak the pastebin program (or clone and tweak) so it works with your server, and you're set. As far as free webhosting goes, I don't have any suggestions.

Other than that, I've seen the use of Dropbox and Pastebin pretty much mercilessly. They work, albeit limited, but work nonetheless. =
aura #8
Posted 09 November 2012 - 06:35 PM
Thank you for some ON-TOPIC discussion of this!

Due to various personal reasons I do not want to reveal my own IP Address. So using my own HTTP server is outside of the question on my end unfortunately.

Pastebin isnt very good for hosting programs, I can barely connect to it.
Dropbox CAN be good but they quit the public folder system.

Im looking for other services but if you believe those are good, they may be good afterall.
AfterLifeLochie #9
Posted 09 November 2012 - 06:36 PM
Thank you for some ON-TOPIC discussion of this!

Due to various personal reasons I do not want to reveal my own IP Address. So using my own HTTP server is outside of the question on my end unfortunately.

Pastebin isnt very good for hosting programs, I can barely connect to it.
Dropbox CAN be good but they quit the public folder system.

Im looking for other services but if you believe those are good, they may be good afterall.

I'm more referring to a free-external host, not a DIY at-home-server. Both work, but be aware that free webhosting *can* be rather limited.
aura #10
Posted 09 November 2012 - 06:43 PM
I see. But isn't using pastebin to host your files still similar to the concept of using a free-external host?
AfterLifeLochie #11
Posted 09 November 2012 - 06:45 PM
I see. But isn't using pastebin to host your files still similar to the concept of using a free-external host?

Yes, but in contrast with Patebin's restrictions, you're in charge of your own system; there's no "max pastes" or anti-spam (which is waaay too sensitive). By "restrictions" with regards to free webhosting, it's just a bandwidth limit (which I doubt plain-text Lua scripts would ever reach).
aura #12
Posted 09 November 2012 - 06:57 PM
I agree about that, I may just try that method of hosting files later.
Haha, yeah the anti-spam thing is annoying.
Sammich Lord #13
Posted 10 November 2012 - 12:52 AM
As for free web-hosting goes, here are two of the best: http://x10hosting.com/ http://www.000webhost.com/
Just upload your scripts there via FTP and then make a downloaded with the HTTP API. You can also write a custom PHP script to upload files.
Mads #14
Posted 10 November 2012 - 03:33 AM
000webhost.com

Easily the best webhost, with 100GB bandwidth/month and alot of disk space, FTP access, PHPMyAdmin, and MySQL.

And, IT'S FREE.
Tiin57 #15
Posted 10 November 2012 - 03:40 AM
000webhost.com

Easily the best webhost, with 100GB bandwidth/month and alot of disk space, FTP access, PHPMyAdmin, and MySQL.

And, IT'S FREE.
x10 is unlimited?
Sorroko #16
Posted 10 November 2012 - 09:00 AM
I don't know too much about dropbox, but the public folder still works perfectly for me. github.com is what I recommend but isnt meant for 1 off files.
Mads #17
Posted 10 November 2012 - 09:37 AM
000webhost.com

Easily the best webhost, with 100GB bandwidth/month and alot of disk space, FTP access, PHPMyAdmin, and MySQL.

And, IT'S FREE.
x10 is unlimited?

x10 has blocked registration from some countries, like Denmark, where I live :unsure:/>/>
Sammich Lord #18
Posted 10 November 2012 - 11:00 AM
000webhost.com

Easily the best webhost, with 100GB bandwidth/month and alot of disk space, FTP access, PHPMyAdmin, and MySQL.

And, IT'S FREE.
x10 is unlimited?

x10 has blocked registration from some countries, like Denmark, where I live :unsure:/>/>
I didn't know that. But 000webhost.com is one of the best.
aura #19
Posted 10 November 2012 - 11:18 AM
000webhost.com is outside of the picture if you wish to only host files because in the Terms of Service agreement it specifies:
"9. Account cannot be used to store files only"
Sammich Lord #20
Posted 10 November 2012 - 12:05 PM
000webhost.com is outside of the picture if you wish to only host files because in the Terms of Service agreement it specifies:
"9. Account cannot be used to store files only"
Loop hole! All you need is a 10 line HTML index file to actually not violate it. Just create something like:

<html>
<head>
  <title>GTFO NUB!</title>
<head>
<body>
<center>
<h1>GTFO NUB!!</h1>
</center>
</body>
</html>
Then just upload files and you are fine.
Dlcruz129 #21
Posted 10 November 2012 - 05:29 PM
Use either iCloud or SkyDrive, depending on what computer you have. If you have Linux, I'd use github, but use pastebin to post programs, because of the built-in pastebin program. For tracking your updates and beta/dev builds, use one of the options above.
Mads #22
Posted 10 November 2012 - 10:36 PM
000webhost is very simple, you just upload files via FTP or their in-browser file manager, and then you use http.get("mysite.somedomain.com/path/to/file")
bjornir90 #23
Posted 12 November 2012 - 01:08 AM
000webhost is very simple, you just upload files via FTP or their in-browser file manager, and then you use http.get("mysite.somedomain.com/path/to/file")
It doesn't work for me :unsure:/>/> I got a not valid url error …. here is the code :

file = http.get("luascript.site90.com/Data/Serveur.lua")
Can someone help me ?
Sammich Lord #24
Posted 12 November 2012 - 04:21 AM
000webhost is very simple, you just upload files via FTP or their in-browser file manager, and then you use http.get("mysite.somedomain.com/path/to/file")
It doesn't work for me :unsure:/>/> I got a not valid url error …. here is the code :

file = http.get("luascript.site90.com/Data/Serveur.lua")
Can someone help me ?
You need to have it like this:

url = http.get("http://www.luascript.site90.com/Data.Serveur.lua")
if url then
  f = fs.open("fileName", "w")
  f.write(url.readAll())
else
  print("Could not connect!")
end
Remember to always have "http://"
bjornir90 #25
Posted 12 November 2012 - 04:50 AM
000webhost is very simple, you just upload files via FTP or their in-browser file manager, and then you use http.get("mysite.somedomain.com/path/to/file")
It doesn't work for me :unsure:/>/> I got a not valid url error …. here is the code :

file = http.get("luascript.site90.com/Data/Serveur.lua")
Can someone help me ?
You need to have it like this:

url = http.get("http://www.luascript.site90.com/Data.Serveur.lua")
if url then
  f = fs.open("fileName", "w")
  f.write(url.readAll())
else
  print("Could not connect!")
end
Remember to always have "http://"
Thanks you very much !! ^_^/>/>
1lann #26
Posted 10 December 2012 - 11:33 PM
Public folders on dropbox do exist. They're just disabled by default:
https://www.dropbox.com/help/16/en
If you can't be bothered to read the article, basically, to enable a public folder on a dropbox folder, head over to:
https://www.dropbox.com/enable_public_folder
bjornir90 #27
Posted 11 December 2012 - 05:05 AM
Public folders on dropbox do exist. They're just disabled by default:
https://www.dropbox.com/help/16/en
If you can't be bothered to read the article, basically, to enable a public folder on a dropbox folder, head over to:
https://www.dropbox.com/enable_public_folder
Does this exist in Box.net ? Because i'v heard of that but never see it …
PixelToast #28
Posted 11 December 2012 - 08:48 AM
bah, i use a github autoupdater
mainly because git clone is so easy to use .-.

its windows only though :P/>
Kolpa #29
Posted 11 December 2012 - 09:35 AM
for github.com there is always gist: https://gist.github.com/
D3matt #30
Posted 11 December 2012 - 02:51 PM
It's worth mentioned that Amazon has 1-year free packages of all their services, including 5GB of S3 storage with 20,000 GET requests per month. You could update a heck of a lot of CC programs with that.
PixelToast #31
Posted 11 December 2012 - 03:19 PM
It's worth mentioned that Amazon has 1-year free packages of all their services, including 5GB of S3 storage with 20,000 GET requests per month. You could update a heck of a lot of CC programs with that.
and a cc project needs 5GB?
and it will only last a year?
nah
D3matt #32
Posted 12 December 2012 - 01:41 PM
It's worth mentioned that Amazon has 1-year free packages of all their services, including 5GB of S3 storage with 20,000 GET requests per month. You could update a heck of a lot of CC programs with that.
and a cc project needs 5GB?
and it will only last a year?
nah
No, it doesn't need 5GB. Are you going to turn down free stuff because it's too much?

Yeah. One year for your project to die or for you to find another solution. Or you just fork up the $0.095/GB/month if you're serious around your project.
PixelToast #33
Posted 12 December 2012 - 01:45 PM
i would never take a program seriously enough to pay for something you can get free
Dlcruz129 #34
Posted 12 December 2012 - 01:55 PM
Less than a penny a month isn't bad… But I guess I'll stick with free. :P/>
D3matt #35
Posted 12 December 2012 - 05:14 PM
i would never take a program seriously enough to pay for something you can get free
Sure, but you could have it for a year. I'd feel pretty comfortable betting your program won't be being used in a year.

I'm not saying it's the best solution, but it's good as any in this thread.