dropbox for slacko
dropbox for slacko
i'm trying to find dropbox for Slacko Pup531. I downloaded one off the forum but it doesn't open. if you can link me thanks.
Re: dropbox for slacko
If it was the dropbox_1.0.20.pet then you need python installed then the dropbox downloader will install the latest from dropbox, I just tried it and it still works.telltom wrote:i'm trying to find dropbox for Slacko Pup531. I downloaded one off the forum but it doesn't open. if you can link me thanks.
I'm not sure whether you need the devx installed to get python, I think I had troulble with python with slacko so I used this one http://www.smokey01.com/jemimah/sfs/Python2.6-pygtk.sfs
anyway give that a go being a sfs you can always unload it, but I'm guessing it will work with the dropbox installer.
Geoffrey
Re: dropbox for slacko
See opening posttelltom wrote:i'm trying to find dropbox for Slacko Pup531. I downloaded one off the forum but it doesn't open. if you can link me thanks.
http://www.murga-linux.com/puppy/viewtopic.php?t=65624
This should 'just work', no extra deps rqd.
http://puppylinuxstuff.meownplanet.net/DaveS/dropbox/
username: puppy
password: linux
You can have either the .pet or the sfs
http://puppylinuxstuff.meownplanet.net/DaveS/dropbox/
username: puppy
password: linux
You can have either the .pet or the sfs
Spup Frugal HD and USB
Root forever!
Root forever!
Hi DaveS, every http://puppylinuxstuff.meownplanet.net link I have ever tried I get "OI! What are you doing? You're not supposed to be here! the bathroom's that-a-way >> OR: this is an error code 403, which means that access is forbidden." don't even get a user name password popup. I was just wondering why this might beDaveS wrote:This should 'just work', no extra deps rqd.
http://puppylinuxstuff.meownplanet.net/DaveS/dropbox/
username: puppy
password: linux
You can have either the .pet or the sfs
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
that is pretty ugly (huge for what it does), here is something differently ugly:
(I designed it to run on old gtk1 boxes with only Xdialog, curl, sed and tr ... feel free to tweak away)
(I designed it to run on old gtk1 boxes with only Xdialog, curl, sed and tr ... feel free to tweak away)
Code: Select all
#!/bin/ash
check_deps(){
for i in $@; do
which $i > /dev/null || die "Error: dependency not found: $i"
done
}
cleanup(){
rm -f $DB_COOKIE $DB_RESPONSE
}
die(){
echo -e "$@"
cleanup
exit 1
}
drop(){ #upload a file or entire directory to dropbox
[ -f "$1" ] && curl --progress-bar -b $DB_COOKIE -o /dev/null -F "plain=yes" -F "dest=$DB_DIR" -F "t=$DB_TOKEN" -F "file=@$1" https://dl-web.dropbox.com/upload 2>&1 | tr "\r" "\n"|sed "s,# *,,gm"| Xdialog --title "Progress" --no-close --gauge "$1 \n Transferring ..." 0 0 && return 0
cd "$1"
for i in *; do
drop "$i"
done
}
check_deps Xdialog curl sed tr
trap die SIGINT
if [ ! -f "$HOME/.dropbox" ]; then
DB_DIR="Public"
Xdialog --stdout --separator " " --password --3inputsbox "Account info" 0 0 "default folder" "$DB_DIR" "email" "$DB_EMAIL" password "$DB_PASSWD" | while read DB_DIR DB_EMAIL DB_PASSWD; do
echo '
DB_COOKIE="/tmp/DBC_$RANDOM"
DB_RESPONSE="/tmp/DBR_$RANDOM"
DB_DIR='$DB_DIR'
DB_EMAIL='$DB_EMAIL'
DB_PASSWD='$DB_PASSWD'
' > "${HOME}/.dropbox"
done
#can we save the DB_TOKEN too??? need to test a couple of days, to save traffic
fi
. ${HOME}/.dropbox
curl -s --show-error -i -c $DB_COOKIE -o $DB_RESPONSE --data "login_email=$DB_EMAIL&login_password=$DB_PASSWD&t=$DB_TOKEN" https://www.dropbox.com/login
DB_TOKEN=`curl -s --show-error -i -b "$DB_COOKIE" -o - https://www.dropbox.com/home |tr -d '\n' | \
sed 's/.*<form action="https:\/\/dl-web.dropbox.com\/upload"[^>]*>\s*<input type="hidden" name="t" value="\([a-z 0-9]*\)".*/\1/'`
[ "$DB_TOKEN" ] || die " Token failed!\n"
[ -d "$1" -o -f "$1" ] && drop "$1" || drop `Xdialog --stdout --fselect ./ 0 0 || exit`
cleanup
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Its a permissions thing. The uploader has to set public permissions. I thought I had done that?Geoffrey wrote:Hi DaveS, every http://puppylinuxstuff.meownplanet.net link I have ever tried I get "OI! What are you doing? You're not supposed to be here! the bathroom's that-a-way >> OR: this is an error code 403, which means that access is forbidden." don't even get a user name password popup. I was just wondering why this might beDaveS wrote:This should 'just work', no extra deps rqd.
http://puppylinuxstuff.meownplanet.net/DaveS/dropbox/
username: puppy
password: linux
You can have either the .pet or the sfs
Spup Frugal HD and USB
Root forever!
Root forever!
Thanks! The .pet installed perfectly.
Cheers.
Cheers.
DaveS wrote:This should 'just work', no extra deps rqd.
http://puppylinuxstuff.meownplanet.net/DaveS/dropbox/
username: puppy
password: linux
You can have either the .pet or the sfs