You are not logged in.
I've added options to require client certificates for further security.
The following will get you started: python-xynehttpserver
Related discussion might show up here: https://bbs.archlinux.org/viewtopic.php … 63#p834963
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
http://www.xyne.archlinux.ca/projects/q … uickbrowse
alias quickbrowse="curl -G -d text=plain"
Usage: quickbrowser <URI>
You need to drop the 'r' from 'quickbrowser'.
Offline
Done, thanks.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I get
File "/usr/bin/quickserve", line 19, in <module>
from XyneHTTPServer import ThreadedHTTPServer, BaseHTTPRequestHandler
ImportError: No module named XyneHTTPServer
This must be due to the recent python updates in [testing].
Offline
Download the PKGBUILD for python-xynehttpserver and rebuild it against python in testing. I'll update it when the new package is moved.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ok, I took the PKGBUILD from AUR and recompiled it, but the error stays the same. But it's not urgent, so no biggie to wait until you move it.
Offline
Download the PKGBUILD for python-xynehttpserver and rebuild it against python in testing. I'll update it when the new package is moved.
Seems there are some errors:
running install
running build
running build_py
creating build
creating build/lib
copying XyneHTTPServer.py -> build/lib
running install_lib
creating /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr
creating /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib
creating /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib/python3.1
creating /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib/python3.1/site-packages
copying build/lib/XyneHTTPServer.py -> /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib/python3.1/site-packages
byte-compiling /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib/python3.1/site-packages/XyneHTTPServer.py to XyneHTTPServer.pyc
File "usr/lib/python3.1/site-packages/XyneHTTPServer.py", line 94
print " address: all interfaces"
^
SyntaxError: invalid syntax
writing byte-compilation script '/tmp/tmp92S5II.py'
/usr/bin/python -O /tmp/tmp92S5II.py
File "usr/lib/python3.1/site-packages/XyneHTTPServer.py", line 94
print " address: all interfaces"
^
SyntaxError: invalid syntax
removing /tmp/tmp92S5II.py
running install_egg_info
Writing /tmp/packerbuild-1000/python-xynehttpserver/python-xynehttpserver/pkg/usr/lib/python3.1/site-packages/XyneHTTPServer-1.0-py3.1.egg-info
quickserve is amazing. Thank you Xyne
Last edited by figue (2010-10-06 07:39:33)
Offline
I've updated the build function to explicitly use python2 (hadn't thought of that, sorry). Let me know if it works.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
It works! Thank you
Offline
I get
File "/usr/bin/quickserve", line 19, in <module> from XyneHTTPServer import ThreadedHTTPServer, BaseHTTPRequestHandler ImportError: No module named XyneHTTPServer
This must be due to the recent python updates in [testing].
I just updated my system and now i get this same error. I using [xyne-any] to install quickserve. Did you get this solved Army?
Btw quickserve is great
Offline
Rebuilding the package seems to solve the issue. Install the latest version of python-xynehttpserver and let me know if it works.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Just updated and that installed python-xynehttpserver-2010.10.02.2-3, now everything is working. Thanks Xyne
Offline
Love it, thanks alot.
Offline
Does is possible to add options to check log, who was entered my quickserve sharing server which time ip... maybe like this
quickserve --log
Last edited by Kosava (2010-12-17 20:28:58)
Offline
@Kosava
$ quickserve ... 2>log
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I get this when i type that command
Traceback (most recent call last):
File "/usr/bin/quickserve", line 745, in <module>
main(options)
File "/usr/bin/quickserve", line 647, in main
use_ssl=options.ssl, ssl_parameters=ssl_parameters, cert_required=options.req_cert )
File "/usr/lib/python2.7/site-packages/XyneHTTPServer.py", line 63, in __init__
BaseHTTPServer.HTTPServer.__init__(self, server_address, HandlerClass)
File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
I dont have ip listing and what people are downloaded from me...
Offline
Xyne, just want to thank you for this! I can't count the number of times I need to do some quick filesharing, and this is an awesome solution!
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
I get this when i type that command
socket.error: [Errno 98] Address already in use
You are running something that is using the same port as quickserve (8080 by default). Either stop whatever is using that port, or use a different port with quickserve.
The command that I posted (quickserve ... 2>log) will redirect logging messages to a file. This will let you see who accesses your server, when, and what they accessed.
@lifeafter2am
Thanks
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Now works thanks Xyne, i think it would be nice to put that about loging in quickserve --help.
Offline
i think it would be nice to put that about loging in quickserve --help.
done
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
quickserve it's beautiful, thank you!
Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org
Offline
Rewritten in Python 3. See first post and project pages for more details. Let me know what I've broken.
If anyone has ever looked at the code before, you should really appreciate the cleanup.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ok, I came back to this today to untangle the code a little more and I now have what looks to be a decent class hierarchy. I don't expect that to be very interesting to most of you, but there are some frontend benefits to the rewrite and merge... quickserve now supports Quickserve networks via static peers and multicast.
Install it on two different systems, open up the necessary ports and try this:
quickserve --multicast --remote-remote /path/to/whatever
You now have an autoconfigured network with merged directory views of all available files
The code is relatively clean and extensible, so it should be easy to play around with it.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
That sounds very cool!!!
Offline
Good work.
Excuse my poor English.
Offline