Description: Somewhere I saw a really cute trick with python to shares files on a network. I decided a simple GUI would make this a little easier for people to work with.
This GUI allows drag and drop of files and directories and allows you to share them by opening your browser and just downloading them. Its not very sophisticated but it does its job flawlessly.
This program is really useful if you have an MTP only device (Most android devices >= 3.0). KDE 4.10 will include a MTP kio-slave. Anyways, this program is useful for whatever reason you might need it for.
All the major functions are now implemented and they work flawlessly :-D as far as I can tell. The next step is probably an indicator to check if the firewall is open on a ip:port combo or something along those lines.
Packages: +There is a generic noarch rpm which was built and tested on openSUSE 12.2 64bit but should work on any rpm based distro. +The second package is a generic tar.gz. Inside is an install script. It copies the files to the right directories and requires root. PLEASE OPEN IT AND CHECK IT FIRST TO SEE IF IT IS SAFE. I tested the install script on my own system and nothing broke. Your system should be fine if it uses a similar file structure. You can always edit it to suit your needs. + Thanks to mrbit for the Arch AUR package. I have not tested this at all. + I made a .deb package using python-stdeb. It installs and is stable on my Kubuntu 12.04 and 12.10 virtual machines. It should work on any Debian/(K)Ubuntu machine thou.
Dependencies: +PyQt4 only
Known Bugs: None
I TAKE NO RESPONSIBILITY FOR WHATEVER HAPPENS TO YOUR COMPUTER AS DIRECT OR INDIRECT RESULT OF MY CODE.Last changelog:
0.2
+Fixed bug with add dialog +Added email functionality +Added a few warnings +Fixed up the GUI a bit +Minor other improvements _____________________________________
Sorry. I started exams and then it was holidays and from there everything just sort of went crazy.
Umm, yeah basically it has to do with me not having a very good system of working with the files. At the moment the app doesn't support anything but a-z, 0-9 and select characters in the entire file path. Heck, even spaces cause issues so "/home/Joe Blog/anything.pdf" = error; "/home/JoeBlog/anything.pdf" = fine.
I know how to fix that up so I should hopefully get round to it sometime this week. I'm also going to quite drastically refactor the code and just change the general file handling so that its more bulletproof.
Hi,
I can open quickshare just fine, however when I say run server and open a browser with URL 'myip:port' I see only the header "Directory listing for /" and nothing else.
Any ideas how I might solve this? Thanks.
You need to add files/directories for it to share. You should do something like open dolphin on the side. Start the program. Then drag a few files over (the program supports drag and drop) and start the server. Now open your browser with either the button or manually and it should list files and directories for you that you can download.
Its a very simple program that's designed for really fast sharing of files/directories over a network. There is no fancy web ui, just something like "Directory Listing for" and a couple of files and folders.
I did; however, notice that there was a bug with the the file add dialog. I have fixed it in the latest release. Also I added a few features.
The setup.py is used to generate distribution packages. You can't use it to install the program and as far as I know you can't use it with Arch packages.
You should be able to just run "python run.py" or make it executable and run it. By thew way it was built up on python 2.7 and I think Arch is one of the few distro's that has moved to python 3.x. So you might have to run "python2.7 run.py"
Ratings & Comments
8 Comments
If file path contains not only english letters(russian in my case), i see only blank page in webbrowser, but file contains in list.
Not exactly blank, but see "Directory listing for /" and nothing else.
Sorry. I started exams and then it was holidays and from there everything just sort of went crazy. Umm, yeah basically it has to do with me not having a very good system of working with the files. At the moment the app doesn't support anything but a-z, 0-9 and select characters in the entire file path. Heck, even spaces cause issues so "/home/Joe Blog/anything.pdf" = error; "/home/JoeBlog/anything.pdf" = fine. I know how to fix that up so I should hopefully get round to it sometime this week. I'm also going to quite drastically refactor the code and just change the general file handling so that its more bulletproof.
Hi, I can open quickshare just fine, however when I say run server and open a browser with URL 'myip:port' I see only the header "Directory listing for /" and nothing else. Any ideas how I might solve this? Thanks.
You need to add files/directories for it to share. You should do something like open dolphin on the side. Start the program. Then drag a few files over (the program supports drag and drop) and start the server. Now open your browser with either the button or manually and it should list files and directories for you that you can download. Its a very simple program that's designed for really fast sharing of files/directories over a network. There is no fancy web ui, just something like "Directory Listing for" and a couple of files and folders. I did; however, notice that there was a bug with the the file add dialog. I have fixed it in the latest release. Also I added a few features.
Thank you! create a script I added to the menu and it worked perfectly. At the end was with python2 run.py
How to install? Use arch linux. I tried with setup.py and copying files by hand ... and nothing
The setup.py is used to generate distribution packages. You can't use it to install the program and as far as I know you can't use it with Arch packages. You should be able to just run "python run.py" or make it executable and run it. By thew way it was built up on python 2.7 and I think Arch is one of the few distro's that has moved to python 3.x. So you might have to run "python2.7 run.py"