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

CraFTP (In-game file sharing via Rednet)

Started by Pocok5, 01 April 2012 - 01:52 PM
Pocok5 #1
Posted 01 April 2012 - 03:52 PM
Hello! I started fiddling with file editing functions of lua, and this is what I got:
http://computercraft.info/wiki/index.php?title=User:Pocok5/CraFTP#CraFTP

This is a lightweight FTP-like file sharing. It only works with text files, executable lua scripts get messed up atm. Still WIP, I'm planning on creating an API for fellow programmers to write their own fancy email clients.
djblocksaway #2
Posted 03 April 2012 - 08:47 AM
hm this is a good idea cant wait till you update it :)/>/>
Mads #3
Posted 04 April 2012 - 06:56 PM
Some Admin said:
Please don't use a topic to link to other forums/posts/topics.
^^ Quote from admin
Anyway, NICE program
Pocok5 #4
Posted 07 April 2012 - 06:11 PM
Thank you. It will be p2p for a while, I need to make the connection and sending codes into an API first, then work out a tidy little system fr the server. Sadly it seems the server must be coroutine-based, wich may be an issue if those pesky ghost treads still exist. Btw I linked the wiki because it's much more easier to add things there. I also make a 16x texture pack, so I'm working on like six things at once, while reading Portal fanfics.