6 ms·
As far as quick 'n dirty solutions go, if you're not overly concerned with security, you can always use "python -m SimpleHTTPServer" to serve all the files on t
by onosendai 13y ago
As far as quick 'n dirty solutions go, if you're not overly concerned with security, you can always use "python -m SimpleHTTPServer" to serve all the files on the current directory over HTTP.
I also recall that KDE had a panel applet that pretty much did the same thing on the 3.x days (not sure it's been ported to 4.x)
- tOkeshu 13y agoDo not forget that this solution is inherently mono-threaded and does not benefits from a proper concurrency model like node.js for example (which is also mono-threaded by "design" but provide non blocking IO). So for big files with multiple downloaders, it can be sometimes not as good as you want it to be.
- secstate 13y agoBut at that point you're hosting a file server, not just sending a 25mb file to a friend. Out of scope.