Posted 27 December 2016 - 02:48 PM
This api has two functions that are listed bellow and it is designed to send and receive files over rednet -
napi.sendFile(name,protocal) - this will send a complete file over rednet
napi.receivefile(name,protocal) - this is the second part of .sendfile and they will both need to be on the same protocol (the name can be different)
you will need the napi.receivefile started before the napi.sendFile
To get the api:
pastebin get 85nP6tvP napi
I hope you can make use of it and if you have any ideas for new functions comment below :-)
napi.sendFile(name,protocal) - this will send a complete file over rednet
napi.receivefile(name,protocal) - this is the second part of .sendfile and they will both need to be on the same protocol (the name can be different)
you will need the napi.receivefile started before the napi.sendFile
To get the api:
pastebin get 85nP6tvP napi
I hope you can make use of it and if you have any ideas for new functions comment below :-)
Edited on 29 December 2016 - 12:46 PM