Pcloud-0.2 - cloud account webdav mounting gtkdialog gui

Browsers, email, chat, etc.
Post Reply
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

Pcloud-0.2 - cloud account webdav mounting gtkdialog gui

#1 Post 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.
Attachments
pcloud.jpg
(56.99 KiB) Downloaded 2318 times
pcloud-0.2.pet
(8.7 KiB) Downloaded 823 times
Last edited by plinej on Wed 16 Jan 2013, 03:35, edited 8 times in total.
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

uploaded 0.2
You can also download many of my packages at:
[url]https://archive.org/download/python3-git-2019-10-10-x86_64[/url]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#4 Post 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?

Post Reply