With Android devices, you can use adb to push files to the device. A similar feature for nxsh could be an interesting and useful alternative to a full ftpd.
If nxsh's cat implementation supported reading from standard input to files, you could potentially script this as something like the following:
With Android devices, you can use
adb
to push files to the device. A similar feature for nxsh could be an interesting and useful alternative to a full ftpd.If nxsh's cat implementation supported reading from standard input to files, you could potentially script this as something like the following:
Unfortunately, it doesn't seem like nxsh cat supports this yet, nor did I spot an obvious way to read input from a duktape script.