You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
I've got a linux machine (well, an Android one) which is running remotely about 3 miles away.
I want to upload a file, but sadly all I've got for uploading files are:
- go over there and put something on the (probably broken) SD card
- use the serial port
I'd like to use something like XMODEM, but this machine runs so slowly that teraterm times out (something to do with actually being an FPGA).
But I *can* take a binary file, convert it to ASCII, send the ASCII text across and then convert back on the other end.
If I had perl or python this would be a breeze, but all its got is awk and whatever else is in busybox.
Any suggestions?
(The other alternative is to rebuild the root filing system with the file I want and then reboot remotely but that's clearly cheating).
EDIT: plus rebooting takes about 20 minutes.
Thanks!
OK, looks like nothing is going to work, as I can't reliably pass files over just dumping them to the terminal.
No idea if it helps, but it sounds like the program you are looking for is uuencode (which converts binary to ASCII).
I'll ask the obvious just to rule it out: You running either SSH or FTP server on the box?
According to the busybox website busybox contains uudecode. So uuencode it then transfer and uudecode.
Unless you can log into your android box and use wget (also in busybox) to drag file file back.
[url= http://www.busybox.net/downloads/BusyBox.html ]Command list for busybox[/url]