Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My iDisk is about to expire, and I can access it through the WebDAV protocol. I own my own server, and I know it's possible to access my iDisk through WebDAV.

I was wondering how I would go about initiating a transfer from a WebDAV-based server to a Linux machine through SSH access?

Any help would be appreciated.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Since WebDAV is over HTTP and wget is a great tool for recursively downloading a site, I suggesting using wget -r http://your.iDisk.URL/.

You may have to get a bit fancy and pass authentication options or even copy a cookie from your browser in order to maintain the session, but this tool should allow you to pull everything down over the console via ssh.

Alternately, consider mount.davfs to treat the DAV site as a local filesystem and perform a regular recursive copy. This requires root and possibly a bit more work, but it is another option.

share|improve this answer
    
Okay, I'll try that. –  Befuzzled Jun 4 '12 at 19:47
    
Looks like I can't authenticate to my iDisk because they're doing some fancy sort of authentication. Any ideas? –  Befuzzled Jun 4 '12 at 20:19

I use this method when on Mac OS X, as far as I know it should work fine.

http://hints.macworld.com/article.php?story=20040920100413622

share|improve this answer
    
I'm unable to authenticate to my iDisk using this method because iDisk doesn't support SSH. –  Befuzzled Jun 4 '12 at 20:19
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  mgorven Jul 2 '12 at 21:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.