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 Tue 21 Oct 2014, 21:41
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 Posts_count  
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
Sub_title: 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  386 Time(s) 
pcloud.jpg
 Description   
 Filesize   56.99 KB
 Viewed   1408 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

Edited_times_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:   Sort by:   
Page 1 of 1 Posts_count  
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0557s ][ Queries: 13 (0.0040s) ][ GZIP on ]