To Those Who Make My Job Easier
|
|
Comments (6)
Droopy looks really cool, I find files, etc, all the time that I would love to have at a central location and this will make that a lot easier. Thanks, h!
Wow I haven't been able to access the members area over the last few days, talk about withdrawal.
I downloaded droopy, it's a neat little script and it works very well. With a few mods it should be possible to specify the destination directory on the receiving computer.
I downloaded droopy, it's a neat little script and it works very well. With a few mods it should be possible to specify the destination directory on the receiving computer.
I've unsuccessfully tried to write a little gui for it but my time and my skills in this area are scarce at the moment...my problem has been in finding a way to get a notification when someone has sent you a file...maybe after LIN08. then again, maybe I better leave that to those who do python a bunch better than me.
Ken make the following change in do_Post
from fout = file(os.path.join(self.upload_dir, fileitem.filename), 'wb')
to fout = file(os.path.join(self.upload_dir, 'Download', fileitem.filename), 'wb')
self.upload_dir is the webroot '.' usually the current users home root.
'Download' is the path to the sub directory, the directory I want to up load to, make it whatever you prefer.
fileitem.filename is the name of the uploaded file
from fout = file(os.path.join(self.upload_dir, fileitem.filename), 'wb')
to fout = file(os.path.join(self.upload_dir, 'Download', fileitem.filename), 'wb')
self.upload_dir is the webroot '.' usually the current users home root.
'Download' is the path to the sub directory, the directory I want to up load to, make it whatever you prefer.
fileitem.filename is the name of the uploaded file
OK, yes, I've been playing with this and this code is good...however I am going to try to build a gui (Kommander failed miserably...gonna have to do it by hand) that allows one to pick a audible que when someone has sent you something...that's the easy part. Getting it to recognize the file extension and file size is where I am getting stuck.
I really should leave this alone but that's just not the Linux way...
h
I really should leave this alone but that's just not the Linux way...
h
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post

It ain't just Linux stuff, either.
I can't imagine, for example, living on a Windows box that doesn't have winscp. That would be barbaric.