[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: emacs/org-mode on Droid?
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Re: emacs/org-mode on Droid? |
Date: |
Thu, 15 Apr 2010 16:46:27 -0400 |
Mark Elston <address@hidden> wrote:
> Nick,
>
> What do you have in your .netrc (besides passwords and such)...
>
> Mark
>
I registered for an account on mydrive.ch and added the following to
my .netrc (with the obvious changes):
,----
| ...
| machine webdav.mydrive.ch login luser passwd foobar
`----
I was then able to run the following script successfully:
,----
| #! /bin/bash
|
| cadaver http://webdav.mydrive.ch << EOF
| put .profile profile
| quit
| EOF
`----
Nick
> On 4/15/2010 12:57 PM, Nick Dokos wrote:
> > Mark Elston<address@hidden> wrote:
> >
> >> Nick,
> >>
> >> Thanks. I'm already trying the script approach. I have the
> >> following in a script:
> >>
> >> open https://webdav.mydrive.ch
> >> y
> >> <username>
> >> <password>
> >> cd org
> >> put Teaching.org
> >> put Home.org
> >> close
> >> exit
> >>
> >> The 'y' is to accept the untrusted server certificate.
> >>
> >> Unfortunately, even though this all works manually, when running it as:
> >>
> >> cadaver< response.file
> >>
> >> it barfs on accepting the certificate. Sigh. Time to get the sources
> >> and try compiling a local version that doesn't ask to accept the
> >> cert and just goes on with the rest.
> >>
> >
> > On Linux, I can use the .netrc mechanism to log in to the server (simple
> > auth only), so the script does not have to worry about that. Don't know
> > whether this works with the cygwin version or how the certificate
> > complicates things. Using this mechanism, the following script works:
> >
> > ,----
> > | #! /bin/bash
> > |
> > | cadaver http://alphaville.usa.hp.com/org<< EOF
> > | put foo.org bar.org
> > | quit
> > | EOF
> > `----
> >
> > Nick
>
- Re: [Orgmode] Re: emacs/org-mode on Droid?, (continued)
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Eric S Fraga, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Nick Dokos, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Nick Dokos, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Nick Dokos, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Nick Dokos, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Nick Dokos, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?,
Nick Dokos <=
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Matthew Jones, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Mark Elston, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Sven Bretfeld, 2010/04/15
- Re: [Orgmode] Re: emacs/org-mode on Droid?, Daniel Martins, 2010/04/18