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

Sending folders through rednet?

Started by lieudusty, 12 September 2012 - 02:25 AM
lieudusty #1
Posted 12 September 2012 - 04:25 AM
Hi everyone! =D

I'm making a program and I need it to send a folder through rednet. I've figured out how to send a single file but I can't figure out how to send a folder. Can someone please help?
Lyqyd #2
Posted 12 September 2012 - 04:29 AM
Iterate through everything fs.list() returns, recursively? Use a couple control packets to tell the receiving machine what goes where.