The TFTP service
redirect upload (write operation) and download (read operation) as local program calling
Usage of tftp-worker:
-addr string
TFTP listen address (default ":tftp")
-on-read string
Read operation local hook program
-on-write string
Write operation local hook program
-workdir string
Work directory
Equivalent to:
read-hook-program <filename> | <file-content>
Environments:
Field Name | Type |
---|---|
TFTP_ACTION |
READ |
TFTP_READ_FILE |
file path |
Equivalent to:
<file-content> | write-hook-program <filename>
Environments:
Field Name | Type |
---|---|
TFTP_ACTION |
WRITE |
TFTP_WRITE_FILE |
file path |