tsl0922 / ttyd

Share your terminal over the web
https://tsl0922.github.io/ttyd
MIT License
8.18k stars 898 forks source link

Not an issue, more of a request.... #91

Closed JasonDD closed 6 years ago

JasonDD commented 6 years ago

I'm wondering how to use the Zmodem option to send files from a shell script running via ttyd to the browser?

I've looked all over the place but unfortunately I'm a bit of an idiot and have to reach out and ask for some help.... So, can you help? :)

thanks

Jason

JasonDD commented 6 years ago

Please ignore this....

A friend saw the post, and helped me work it out.

The answer is (for Ubuntu... I guess similar for other OS's) install https://launchpad.net/ubuntu/artful/+package/lrzsz

issue a

$ sz $fullpathto.file

in the shell script and it simply works!