put ( LOCAL, REMOTE_FILE , OPTIONS)
If the LOCAL option is missing the put will return a filehandle. This filehandle must be written to ASAP as the server will otherwise timeout.
You have only supplied one argument, which means the return from put() is a filehandle. You probably didn't want to do that. So try using $tftp->put("localfile-name", "remotefile-name");
In reply to Re: Net::TFTP is stumbling me up
by bunnyman
in thread Net::TFTP is stumbling me up
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |