Drivers : : Google Drive handler for MorphOS
Posted By: anchor. on 2016/1/30 3:17:59
Google Drive handler MOS v0.4 is available from aminet :)
http://aminet.net/package/comm/tcp/GoogleDrive_handler_MOS

DESCRIPTION

This is a Dos handler allowing easy access to Your Google Drive storage.


LIMITATIONS

Without licence key, the handler acts as a read only volume, and document exporting is disabled. To obtain the licence key, please contact me using my email address. Once licence obtained, full access to all my upcoming handlers is enabled. (Dropbox and Google Cloud Print are planned as well)

The cost of the license is 10 EUR.


INSTALLATION

Since there is no installer yet, You need to follow these steps:
1. Copy the entire 'Google' folder to your Devs: from the archive.
2. Visit the following site with a modern browser: https://goo.gl/1K3xoq and copy the given client code into Devs:Google/_client_code (Please note: Every time when You ask new client code, You must delete Devs:Google/_access_token and Devs:Google/_refresh_token files if they
are exist!)
3. Add the following lines to Your user-startup:

;BEGIN Google
Assign SSLROOT: Devs:Google/.sslroot
Mount GOOGLE: from Devs:Google/google.mountlist
;END Google

(If somehow You already have SSLROOT: assign, skip that line)

That's all. Let's check your installation. Reboot, and open a new CLI window. Type: list google:

If everything is fine, after a few seconds You should see the list of files and folders of your GD root. (GD refers to Google Drive in this whole document)

If You want to see GD icon on Ambient, upload Disk.info from Devs:Google/.data to Your GD root. In order to upload files You'll need to use a full version of the handler, or a modern browser.


TECHNICAL NOTES

- GD handler is based on libCurl (v7.41.0), and OpenSSL (1.0.2e)
You can check the components, and the licence status with this command: list google:@about

- DOpus doesn't follow Amiga programming reference manual, and not support EOF for ACTION_READ. Thus I don't recommend DOpus for exporting documents from GD.

- GD does not allow modification of file contents. If You want to modify a file, make a local copy first, and when You have finished, upload it to your GD.

- GD expects the exact file size for every upload. If You creating a new file, it is empty. Due to this, if You uploading something, the content will be stored into a buffer, and the real upload will occur when the file has been closed. The maximum size of the uploaded file is limited by amount of free RAM.


PLANNED FEATURES

- OCR (automatic text document export from image, during upload)
- Shared file support
- icon ghosting
- thumbnails as icons for NG systems
- 64 bit actions for NG systems
- change detection (if You operate with GD on other machine too)
- OS4 port (I have no OS4 capable machine yet)


VERSION

This handler is still in an early stage of development, far from the mature state. It may contain bugs. Please consider this release as a public beta. Any feedback is welcomed.

Thanks to:
- BSzili,
- Viktor Soponyai alias dh1 from Amiga Mania Magazin,
- PMonster,
- Sir_Lucas
 
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Joined: 2012/6/8
    Posts: 559
    From: Hungary
    The new item accidentally ended up with the link of the 68k version. Could it be replaced with this link?
    http://aminet.net/package/comm/tcp/GoogleDrive_handler_MOS
  • »2016/1/30 5:56
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Joined: 2003/2/24
    Posts: 2109
    From: po-RNO
    Thanks for MorphOS version, but I have few issues with it.

    First, the mounted GOOGLE: device doesn't appear on Ambient device list (My MorphOS) or on shell with the Info command unless I first manually try to access it from the shell. It doesn't even start working if I try to access it manually from Ambient, only from the shell.

    It also gives a hit in the debug log immediately when accessing the device first time.

    Also what's a proper way to unmount it? "Assign GOOGLE: DISMOUNT" and "Assign GoogleDrive: DISMOUNT" from the shell? MorphOS's UnMount command works for example to SmbFS and NetFS, but for GOOGLE: it gives "Unmount: packet request type unknown". Would be nice to get that supported.. I guess it would then work from Eject screenbar module too.
  • »2016/1/30 10:15
    Profile Visit Website
  • Just looking around
    anchor
    Joined: 2014/1/1
    Posts: 8
    From:
    jPV: if you want to activate GD handler at startup, add the following line to Devs:Google/google.mountlist :
    activate = 1
    and move the two (assign&mount) lines from your user-startup to user-network-startup.

    ooops! unmounting seems has a bug in version 0.4 on MOS.
  • »2016/1/30 12:24
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Drako^lM
    Joined: 2005/8/10
    Posts: 144
    From: Poland , Chelm
    Good work thx for it :)
    Hardware :
    Power Mac G5 2.3 Ghz & MorphOS 3.18 & OSX 10.5
    Mini G4 1.5 Ghz & MorphOS 3.18
    BlaBla Team Member -> http://blabla.ppa.pl
    AmiParty Team Member -> http://www.chal.pl/
  • »2016/1/31 10:08
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Sir_Lucas
    Joined: 2006/4/23
    Posts: 112
    From: Poland
    Quote:

    Good work thx for it :)


    Yeah, I second your opinion Drako :) Keep up the good work anchor :)
  • »2016/1/31 13:16
    Profile