Yellow Dog Linux General

TOPIC: Accessing your iDisk



Introduction:

You can access your iTools iDisk on your YDL machine through a protocol known as WebDAV, developed by the WebDAV working group (http://www.webdav.org/). Unfortunately, the davfs kernel module (http://www.sourceforge.net/projects/dav/), which will eventually allow you to mount your iDisk like a normal disk, does not yet entirely support the Macintosh system. In the meantime, however, there is Cadaver (http://www.webdav.org/cadaver), a command-line program that lets you access your iDisk using familiar ftp commands.

HOWTO:

I. Install Cadaver
II. Begin using Cadaver



I. INSTALLING CADAVER

Step 1: Go to http://www.webdav.org and download the latest version of Cadaver. At time of publication, the latest version was 0.19.1--available at http://www.dav.org/cadaver/cadaver-0.19.1.tar.gz --and the examples below will use this version. If you download a different version of Cadaver, please remember to change the version numbers in you commands.

Step 2: Extract the file. Cadaver downloads as tarball (.tar.gz) compressed archive, and must be extracted. If you are in an xsession, first open a terminal window. Other wise, Move to the directory where you downloaded Cadaver, if you are not already there. type:
cd [path/to/cadaver.directory]
Unless you specifically told your web browser to save the file somewhere else, it probably saved cadaver to your home directory, an you need only type
cd
Now use tar to extract the cadaver archive:
tar -xvfz cadaver-0.19.1.tar.gz
If for some reason this doesn't work, try
gunzip -c cadaver-0.19.1.tar.gz | taf xvf - (don't forget the "-" at the end)
Step 3: Configure and install Cadaver. Tar created a new directory with the cadaver files in it. Type
ls
to find the name of the new directory (probably cadaver-0.19.1). Change to the cadaver directory:
cd cadaver-0.19.1
configure and install the software, type:
./configure
make
if you are not already logged in as root, enter the command 'su' and then type the root password when prompted. Next type
make install
Cadaver should now be installed and ready to run.



II. USING CADAVER

Some things to remember:

* DAV access to your iDisk is through http://idisk.mac.com/yourusername where 'yourusername' is the login you use to access itools.
* The directions below are only a quick start guide. For the full list of commands and functions, run
man cadaver
To start cadaver, call it from the command line. If you are running an xsession, open a terminal window. Type
cadaver
This will open cadaver, and you will see the cadaver prompt, which looks like this:
dav:!> The command to open your iDisk is 'open'. At the cadaver prompt, type
open http://idisk.mac.com/yourusername You will then be prompted to type your username and password.

You are now logged in to your iDisk!

To navigate your iDisk, cadaver uses commands based on the standard ftp/UNIX command set. For a full list of commands, type 'help' at the cadaver prompt.

To move from one directory to another, use cd
cd /path_to/newdirectory
To move a file from your computer to your iDisk, use 'put'
put /path/to/file/you're.moving where/it/goes/on.iDisk
To move a file from iDisk to your computer, use 'get'.
get iDisk.file /where/you/want/to.put.it
For other commands, type 'help' at the cadaver prompt, or run 'man cadaver' from the command line.

This HOWTO was written by Jay Savage



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation