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

attempt to get length of nil

Started by sniperhero, 24 November 2017 - 08:34 PM
sniperhero #1
Posted 24 November 2017 - 09:34 PM
I was trying to make something to send a file and it tell me this :

sendfile:8:attempt to get length of nil

LINE 8

Here is the pastebin:

https://pastebin.com/zvApK5w4

Sorry for my bad english and also i'm new in computercraft :)/>
Edited on 25 November 2017 - 08:10 AM
Bomb Bloke #2
Posted 25 November 2017 - 03:35 AM
Looks like you linked the wrong paste.
sniperhero #3
Posted 25 November 2017 - 09:10 AM
Looks like you linked the wrong paste.

I solved the problem btw when i made the local = (…) as you can see i must put { instead of {

And i saw i put the wrong pastebin , sorry