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 Sun 21 Dec 2014, 02:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Pcloud-0.2 - cloud account webdav mounting gtkdialog gui
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 28 May 2012, 19:42    Post subject:  Pcloud-0.2 - cloud account webdav mounting gtkdialog gui
Subject description: 2013-01-15
 

Here's a new gtkdialog gui I threw together for mounting various cloud accounts via webdav/davfs2. I wrote a script for box.com and posted it over at:

http://www.murga-linux.com/puppy/viewtopic.php?t=78402

Where you can also find the deps davfs2/libneon. If the following command returns nothing you need to at least install davfs2:

Code:
# which mount.davfs


After installing, or if mount.davfs is already installed run the following to see if libneon is needed:

Code:
# ldd `which mount.davfs`


I decided to build onto the script for other accounts and this is what I came up with. You can run the gui from the menu or you can run from the command line:

Code:
# pcloud

This script will mount your various cloud accounts.
You need to run this script with one of the following accounts as an argument:

4shared
www.4shared.com

adrive
www.adrive.com - should work with a paid account only

box
www.box.com

drivehq
www.drivehq.com

filesanywhere
www.filesanywhere.com - should work with a paid account only

hasfiles
http://who.hasfiles.com

idrivesync
www.idrivesync.com

mydisk
www.mydisk.se

mydrive
www.mydrive.ch

otixo
www.otixo.com

oxygencloud
https://oxygencloud.com

smestorage
www.smestorage.com - should work after buying iSMEStorage for $5 from the Apple store

swissdisk
www.swissdisk.com

for example:
# pcloud box 600 /root/box
would mount your box.com account
The 600 is the number of seconds between rsync checks
/root/box is the directory that will sync with your box account

You can remove your credentials for an account from /etc/fstab and /etc/davfs2/secrets like this:
# pcloud box remove
This is incase you input the incorrect username and/or password and want to reattempt

You can create a startup script to mount a specific account on startup like this:
# pcloud box startup 600 /root/box"
This will create the script $HOME/Startup/pcloud-box-username
The 600 is the number of seconds between rsync checks
/root/box is the directory that will sync with your box account

You can create an account for something not listed like this:
# pcloud new

You can list available accounts like this:
# pcloud accounts

If you have multiple accounts with the same provider you can seperate the account and user with an '*' to specify the account, like this:
# pcloud box*my_new_user_name


The included accounts are:

www.4shared.com

www.adrive.com - should work with a paid account only

www.box.com

www.drivehq.com

www.filesanywhere.com - should work with a paid account only

http://who.hasfiles.com

www.idrivesync.com

www.mydisk.se

www.mydrive.ch

www.otixo.com

https://oxygencloud.com

www.smestorage.com - should work after buying iSMEStorage for $5 from the Apple store

www.swissdisk.com

I know there are probably others, some of which I couldn't get to work and others currently don't have webdav working or it's not documented. Please post any other services that are available below and I will add them to the default program. I will need the url and the webdav url.

0.2 version:
added the ability to sync the remote directory with a local directory via rsync. Also occasionally a loss of sync happens which will freeze up your file manager. Rsync should help with that but I also added the ability to umount in the gui incase that happens.
pcloud-0.2.pet
Description 
pet

 Download 
Filename  pcloud-0.2.pet 
Filesize  8.7 KB 
Downloaded  397 Time(s) 
pcloud.jpg
 Description   
 Filesize   56.99 KB
 Viewed   1579 Time(s)

pcloud.jpg


_________________
An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog

Last edited by plinej on Tue 15 Jan 2013, 23:35; edited 8 times in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 28 May 2012, 20:45    Post subject:  

Here are some others I tried but couldn't get to work:

www.cx.com
www.one.ubuntu.com
www.sugarsync.com
www.esnips.com
www.opendrive.com
www.divshare.com
www.mediafire.com
www.fileden.com
www.minus.com
www.kadoo.com
www.home.elephantdrive.com
www.myotherdrive.com

German site that is supposed to have webdav support:
www.gmx.net

_________________
An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 15 Jan 2013, 23:36    Post subject:  

uploaded 0.2
_________________
An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
Back to top
View user's profile Send private message 
HoerMirAuf


Joined: 22 Jan 2008
Posts: 89
Location: Würzburg

PostPosted: Sat 25 Jan 2014, 11:33    Post subject:  

Hmmmm got some error messages. I am using slacko 5.5:

Quote:
/sbin/mount.davfs: Ungültige (invalid) Option -- n
/sbin/mount.davfs: Mounting failed.
SSL handshake failed: SSL disabled due to library version mismatch
Einhängen fehlgeschlagen (mounting failed)


Any Ideas to solve this?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 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.0695s ][ Queries: 13 (0.0128s) ][ GZIP on ]