Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 05:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Dropbox Filemanager
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Fri 13 Dec 2013, 08:40    Post subject:  Dropbox Filemanager  

Not sure if it should be in here or in filemanagers so move if necessary.

Ok for those who tend to use dropbox as a file host I made a gui around the excellent bash dropboxuploader script. Its not meant to be a substitute for full file syncing.
http://www.andreafabrizi.it/?dropbox_uploader
Basically you have dropbox control without the need for python so light and fluffy and should work on pretty much anything. All this needs is curl (I modified it to make it less fussy of the version but still handles url encoding) and gtkdialog3...think that covers most puppies.

My gui is pretty sparten but functional. It could do with some more work so I thought if I put it up here I might get motivated to do so.

Ok user manual time...
When first run you will need to make a profile.
Choose a name in the account box and hit new profile...a terminal will pop up ... follow the instructions.
Once done that account can be accessed by the name in account. This can be changed at any time ...just hit rescan. You can have multiple accounts. Don't leave the profile in root if you remaster and distibute...that would be sily Very Happy

Once you have a profile is similar to a 2 pane file manager...hopefully usage should be fairly obvious.
Folder creation involves adding the name in the address bar and hitting the new button/icon next to it...ok one to improve I know.
Delete has no warning (yet) so careful with that one.
'Get Link' gets you the direct download link but only for files in Public folder...this is still available for new users but you have to enable it...its very useful for example I stream flash movies and it avoids any intermedeate webpage.
Add and add all are for files...no folder uploading.

That's it... quick and simple hopefully..I find it quicker than using the webpage and at a 14k pet who can complain.

TODO
selective file upload/download/delete
renaming
confirmation prompts (yes it can delete without asking !!)
download links for non 'Public' shares
folder uploading
gui progress monitoring.
language support
Dropbox_GUI-0.1.pet
Description  Version 0.1
pet

 Download 
Filename  Dropbox_GUI-0.1.pet 
Filesize  11.91 KB 
Downloaded  156 Time(s) 
drop.png
 Description   
 Filesize   85.06 KB
 Viewed   447 Time(s)

drop.png

Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Fri 13 Dec 2013, 08:44    Post subject:  

Beans on toast.....
Back to top
View user's profile Send private message 
josejp2424

Joined: 01 Aug 2010
Posts: 171

PostPosted: Fri 13 Dec 2013, 09:30    Post subject: dropbox
Subject description: dropbox
 

Excellent , approve
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Tue 28 Jan 2014, 19:50    Post subject:  

I recently had to update my curl certificates. I have attached a recent bundle if anyone findes this a problem. You can disable the need in the dropbox_uploader script but that seemed a little lame.

they usually live in \usr\share\curl\

mike
curl-ca-bundle.zip
Description 
zip

 Download 
Filename  curl-ca-bundle.zip 
Filesize  131.04 KB 
Downloaded  78 Time(s) 
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1512
Location: wales

PostPosted: Wed 29 Jan 2014, 07:56    Post subject:  

been using this for a while ......

cheers mikeb

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Wed 29 Jan 2014, 08:00    Post subject:  

I think short feedback is a good sign Smile

Glad its useful... I find it handy for files I post here.

Mike
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1512
Location: wales

PostPosted: Fri 31 Jan 2014, 19:27    Post subject:  

hi mikeb,

i use this for managing part of quickpet

one thing i've found though is that it occasionally loses my login information and i have to re-enter it. any ideas?
(i maybe using an earlier version than the one posted here.... have you tweaked it?)

cheers

phil

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Fri 31 Jan 2014, 19:55    Post subject:  

Hm not changed anything since uploading here.

Only thing I have had to do was update the curl certificate bundle.

The profile is created at droppox as part of their user api facilities and a local file is created in root with the details to log on with ...not much more to it than that.

from command line it would be something like
dropbox_uploader.sh mike list

assuming there was already a .dropbox_uploader-mike in root.

perhaps if it happens again see if the command line gives any clues.

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7217

PostPosted: Sat 12 Apr 2014, 19:48    Post subject:  

Ok openSSL farce has hit our humble dropbox uploader script...or more precisely curl.

If you are trying to be proper and use ssl and certificates it may no longer work since dropbox have changed their ssl handling .

dropbox_uploader.sh line 30 uncomment

CURL_ACCEPT_CERTIFICATES="-k"

and accept that security ain't what its cracked up to be,

You still need correct credentials to access so its not exactly risking any necks.

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0593s ][ Queries: 13 (0.0125s) ][ GZIP on ]