Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Connecting to iDisk

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.

Posted on Oct 6, 2005 8:01 PM

Reply
3 replies

Nov 23, 2005 11:11 AM in response to Matthew Romberg

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?

Nov 23, 2005 10:18 PM in response to Bill Walker2

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)

Nov 24, 2005 9:55 AM in response to Bill Walker2

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

Connecting to iDisk

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.