Dropbox Filemanager

Browsers, email, chat, etc.
Message
Author
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#21 Post by mikeb »

Do you think the other way is slow or why did you suggest to
do it without test?
too many things happening at once for my head generally... had to do a manic website and email accounts move yesterday :D

No its fine...in fact your final version with a check for first run is the neatest.... It would be ok as a harmless addition as a 'just in case'

@rufwoof ... well perhaps thats one to take up with the author of dropbox_uploader. To copy and paste you highlight the text and paste with middle click ... A traditional unix thing I believe.
All I do is send his api creation script to the terminal.
One created its all gui fun in the style of a 2 pane browser.
The normal way to use dropbox is as a python application which syncs a local folder to the web.

@technosaurus
goodly.... I use dropbox as a file host rather than a cloud backup so these scripted alternatives and their api's do provide some nice options.
Mediafire liked to corrupt files and 4shared went members only so dropbox became the replacement.

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#22 Post by Scooby »

I want to thank you, mikeb, for a good collaboration getting your
application to run smooth on alphaos.

@rufwoof
You could ask for help and the lenghty setup is only first time
Then it is a very smooth experience


@technosaurus
I tried out your script but it didn't work for me. Maybe because
dropbox changed their setup? Didn't investigate further since
dropbox_uploader.sh( version 0.13) can do it from cmdline.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#23 Post by rufwoof »

Scooby wrote:@rufwoof
You could ask for help and the lengthy setup is only first time Then it is a very smooth experience
Thanks Scooby. Personally I'm happy to run that more manually myself. FTP PUT or whatever and upload a pre-encrypted version of whatever I want to store. FTP GET to download and then locally decrypt/use.

Whose to say that in 3, 5 ... whatever years time computer power/speed wont have risen sufficiently that DES...whatever encryption is no longer secure and the host in having copies of your current/past encyrpted data could browse through that at their leisure. For anything that you'd rather wasn't exposed to such risk the best choice of key is one that has a size equal to the size of the data being encrypted.

Not that I have much in the way of anything that would bother me if it was accessible/seen by others - excepting bank/financial stuff of course. I just don't like the idea that it could be used for their financial gain - such as feeding me specific advertisements based on a personal profiling or selling on that profile to others. I already get enough junk postal mail daily, and regular cold calls from the likes of brokers trying to get me to use them as advisers/agents - which is really dumb/useless - as if they had any specialist info that was of any use then they wouldn't be calling strangers but using that info themselves. No matter how many times you ask to be removed from their database it seems that its a lot easier to have personal data being recorded than it is to have that data removed.

In the past I've experimented and registered unique sign up name on applications for services or whatever and where I've specifically requested/ticked the non-sharing box. Yet later I receive junk mail with that unique name i.e. the original service has not implemented such non-disclosure. Getting to the stage where I'm quite grumpy about it all being way too one sided. Data protection being thrown at you as excuses for their failings, or me to prove who I am to them without a reciprocation of validation. For more recent calls where I know its a cold call and they know my name the call might go something like ....

Hello, is that Mr Woof?
I'm sorry but under data protection you'll have to enter your access code before I can answer that.
Sorry | Pardon | Huh
"Sorry | Pardon | Huh" is an Invalid code .. goodbye.

is more fun and shorter than getting more upset about yet another cold call just as you were starting dinner.

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#24 Post by Scooby »

I just wanted to drop by and tell you I really love dropbox_gui.

Its so good to work with!

Thanks again.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#25 Post by mikeb »

Cheers scooby ... yes I quite like it myself :D

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#26 Post by Scooby »

feature request ( really more of a feature discussion)

I would like to see two features

1. Somehow get info as in with dropbox_uploader.sh version 0.13

Code: Select all

dropbox_uploader.sh -f /root/.dropbox_conf info
info about quota

2. Backup all of the dropbox account locally


The firs one I could easily hack in but do you have any hints on the second
one?

Do you have to loop over the remote files and download one by one?

There are a featur in web ui of dropbox that if I mark all and push download
dropbox zips it and then downloads. Do you know if this could be exposed?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#27 Post by mikeb »

1.
well if the latest script has it added then hackable it is... my main alteration is to add user profiles which is handled at the beginning.
I also have the download link set up for the older (and better) public folder method.

2.
well syncing the lot is more a dropbox's software function really. My gui was aimed at those using it as a convenient file host. And yes it would mean lots of looping.

3.
zipped download... hmm yes there could well be an api for that. Its a while since i looked.

Seems like you have a handle on much of this so feel free to post any test versions up here. I don't have as much time spare as I used to.

As for discussion I have the security thingy turned off for me since the gnutls farce... I wondered if this should be made so for the 'official' version or is it just my oddball setup affected?

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#28 Post by Scooby »

I asked at dropbox forums but they said zip-function was not availible in API
but they kindly passed it on to their programmers and buried it.

I will hack in info button

I did add

Code: Select all

if [ -d "$1" ]; then DIR="`realpath $1`/"; fi
after configfile .dboxrc is read

I have noticed that I want to open dropbox_gui with specific local dir loaded
I usually invoke it from terminal so this is an easy fix.

Just wanted to drop it here as feedback on usability

Still lovin it :D

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#29 Post by mikeb »

No problem and thanks for the input :)

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#30 Post by Scooby »

As I liked this program very much I want to make you aware
that something was changed at dropbox.

I checked the dropbox_uploader homepage and it was updated
with a version that works( version 0.14)

Beaware that arguments have changed a bit from 0.13 and forwards.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#31 Post by mikeb »

Thanks for the info Scooby.

I will check it out soon life permitting :)

mike

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#32 Post by mikeb »

Hmm working ok here 'as is'...I wonder if this is the ssl change mentioned earlier...I have disabled it but not for the pet as I was unsure who is affected.

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#33 Post by Scooby »

Does 'Get link' also work as is?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#34 Post by mikeb »

Yes 'get link' is still working.

Note from their website you get a https link but I generate a http one...either seems valid.

Also note this is only valid for the 'Public' folder which is still available for new accounts if enabled...this gives a direct link which is great for say a flash movie player.

The 'official' api gives the item/folder link which takes you to a webpage first....something perhaps I could add but might make life confusing have 2 different download link options.

If 'get link' is not working for you my guess would be its not a file in the 'Public' folder.....hope that all makes sense.

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#35 Post by Scooby »

how do you enable public folder?

it works without it using dropbox-loader 0.14


I like to get the direct download.

when you use http there is no problems
with ca certs?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#36 Post by mikeb »

Ok heres a sample link...http..

http://dl.dropbox.com/u/110545536/Misc/ ... _Xchat.zip

I generate the link using the item id rather than using dropbox's api since they don't actually have one for this.

https://www.dropbox.com/help/4224
see the button half way down for enabling the Public folder...you need to login to complete it.

Since my link generation is independent of their api's and the uploader script I am curious as to why it would stop working.

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#37 Post by Scooby »

mikeb wrote: Since my link generation is independent of their api's and the uploader script I am curious as to why it would stop working.
yeah, as I stated here I use a modyfied version
of your filemanager so I changed to the new way of getting link (through api)
but I am coming around to see the benefits of your way.

This is how my modified version looks like
Image

If you ever upgrade dropbox_uploader.sh script maybe it could be an
config option which link to get?

I will try the links you provided and follow your explanation.
btw thanks for that

-------- EDIT ----------------------------------------------------------

from here
Creating a Public folder

Dropbox links give you everything you need to share and preview files and folders.
However, if you’re just a diehard fan of Public folders, click here to enable one on your
account. Currently only Pro and Dropbox for Business users can enable Public folders,
so you may have to upgrade first.
Okay as far as I can tell if you have home( free ) dropbox account you cannot activate
public folder any longer

The feel of it is that dropbox want to steer you away from this option
Maybe it is easier to track you the other way?

Ohhh I wanted the direct download link, better than intermediary page.

if you can confirm, it would be useful if that info was shared in your first post

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#38 Post by mikeb »

Ah yes the small print further down. Well thats an annoying change of policy...far too useful an option ...thing is they get free promotion by sending to a webpage first basically... something most file hosts do and I suppose their primary business is backups and group sharing rather than running our home movies or feeding the puppy forum with useful files. :D

Ok so only an option for older clients basically....'nowt as sure as change'

Yes indeed I should add the option and phase out the Public one or give a warning/info box. Been having a busy Summer this year so something to do when hiding from the Winter perhaps :).

Thanks for memory jogging me... and feel free to post anything here that you feel is useful

mike

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#39 Post by Scooby »

mikeb wrote: ...this gives a direct link which is great for say a flash movie player.

The 'official' api gives the item/folder link which takes you to a webpage first....
mikeb wrote:...Been having a busy Summer this year so something to do when hiding from the Winter perhaps :).
...
I never really looked at the new type of link before but today I saw there was at the end

Code: Select all

?dl=0
if you change that to

Code: Select all

?dl=1
You don't have to go to a webpage first but get download directly :D

An easy sed when hiding from winter huh?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#40 Post by mikeb »

excellent.... there's always a sneaky way. :)

If this is the bunny then could simply use the same api regardless rather than being public folder dependent.....

I will check it out ...

cheers

mike

Post Reply