Benches macOS

3

Connecting to iDisk

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I've got an automator program which creates some PDF files from a Filemaker Pro database, which are then saved to a folder on my iDisk. That's the idea, anyway. If I'm not connected already to my iDisk, the automator script stops dead in its tracks.

Is there a way to add a script step within my automator application that (excuse the redundancy) automatically connects to my iDisk? I was thinking about the step "connect to server" but I'm getting stuck.

Thanks in advance.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Bill Walker2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I've got an automator program which creates some PDF

    files from a Filemaker Pro database, which are then

    saved to a folder on my iDisk. That's the idea,

    anyway. If I'm not connected already to my iDisk,

    the automator script stops dead in its tracks.

    Is there a way to add a script step within my

    automator application that (excuse the redundancy)

    automatically connects to my iDisk? I was thinking

    about the step "connect to server" but I'm getting

    stuck.

    Thanks in advance.

    Use Terninal first:

    mkdir /Volumes/idisk;
    mount_webdav "http://idisk.mac.com/username" /Volumes/idisk;

    Run this in your Terminal Shell, using sudo if needed, before you put it into an Automator Workflow.

    You will be asked for a user name and password the 1st time, select save password.

    then

    ls /Volumes/idisk/;

    iDisk content should be there. I don't think the mirror agent will refresh it.

    Subsequently you will not need a password so then copy the above code into a Automator termainal shell and test it.

    This works with Tiger but the idisk does not appear on the desktop.

    Now if I could just get the Public folder and not the rest of it. Anyone figure this out yet?

  2. 0

    Bill Walker2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    With help from a Editor note on macoshints titled " Auto mount your iDisk at startup" I am now able to mount just the idisk Public folder using Terminal script as follows:

    Embedded public and the public folder password in control characters and save as file 'mypass':

    ^@^@^@^public^@^@^@^Fpassword

    then

    mkdir username-Public
    cat mypass | mount_webdav -a0

    http://idisk.mac.com/username-Public /Volumes/username-Public

    Haven't tried it in Automator yet.

    I used the blind chicken method. Lots of pecking.

    various Mac OS X (10.4.3)

    various Mac OS X (10.4.3)

  3. 0

    Bill Walker2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    #To get it to work repetitivly in Automator without an error need to check for for presence of directory before mkdir:

    if [ ! -d /Volumes/username-Public ]
    then
    mkdir /Volumes/username-Public
    fi

    #Then you also need to check to see if it has data before running mount.

    #It is unlikely mount_webdav command will work with the next major revision to Mac OSX so we will need to find another way to do this.

    various Mac OS X (10.4.1)