Page 1 of 1

Pcloud-0.2 - cloud account webdav mounting gtkdialog gui

Posted: Mon 28 May 2012, 23:42
by plinej
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: Select all

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

Code: Select all

# 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: Select all

# 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:

http://www.4shared.com

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

http://www.box.com

http://www.drivehq.com

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

http://who.hasfiles.com

http://www.idrivesync.com

http://www.mydisk.se

http://www.mydrive.ch

http://www.otixo.com

https://oxygencloud.com

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

http://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.

Posted: Tue 29 May 2012, 00:45
by plinej

Posted: Wed 16 Jan 2013, 03:36
by plinej
uploaded 0.2

Posted: Sat 25 Jan 2014, 15:33
by HoerMirAuf
Hmmmm got some error messages. I am using slacko 5.5:
/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?