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

How do I transfer files via lan

Started by diamondpumpkin, 30 April 2015 - 10:46 PM
diamondpumpkin #1
Posted 01 May 2015 - 12:46 AM
I'm trying to transfer some files I have on the left computer to the right computer using the right computer. The one thing I can't figure out is what the computer is, normally for a disk in a disk drive you type fs.copy("disk/whatever","whatever") but I can't figure out what the left computer is.

Setup: http://imgur.com/PISBTDg
KingofGamesYami #2
Posted 01 May 2015 - 12:54 AM
Computers do not work the same way as disk drives, you cannot access files across networks.

However, several rednet transfer programs have been written - you can tell the right computer to receive a message and save it, then tell the left computer to send the file contents through rednet. It's easiest if you get a program off the forums, but if you wish to create your own you may.
HPWebcamAble #3
Posted 01 May 2015 - 01:58 AM
Like king said, computers can't be accessed like a disk drive

Feature request maybe?


You could try using just one computer. What are you trying to do anyway?