[Owncloud] Backup ownCloud?
Thomas Olsen
thomas at tanghus.net
Tue Nov 29 16:05:47 UTC 2011
On Tuesday 29 November 2011 16:44 Robin Appelman wrote:
> probably the easiest way is to look for http auth headers in
> export.php and login using those credentials.
>
> shouldn't be more then 10 lines of code.
Wouldn't it be better to do that in OC_User::isLoggedIn()? Putting it there
would avoid copying the same code to other export scripts.
>
> - Robin Appelman
>
> On Tue, Nov 29, 2011 at 16:41, Thomas Olsen <thomas at tanghus.net> wrote:
> > On Tuesday 29 November 2011 16:35 Robin Appelman wrote:
> >> As far as I know, exporting the calendar without first being logged in
> >> through the session is not possible.
> >
> > It doesn't seem so. Maybe if I get energy to do some coding I should
> > look into http authentication? Or maybe some kind of authentication
> > token?>
> >> On Tue, Nov 29, 2011 at 16:31, Thomas Olsen <thomas at tanghus.net> wrote:
> >> > On Tuesday 29 November 2011 16:22 Thomas Olsen wrote:
> >> >> On Tuesday 29 November 2011 16:18 Rok Andrée wrote:
> >> >> > I took a quick look and you'' probably need to send a post
> >> >> > request
> >> >> > with 'password' and 'user' params. But i dont know how it
> >> >> > will
> >> >> > handle it.>>
> >> >>
> >> >> Didn't think of that. I'll give it a try :-)
> >> >
> >> > Nope. Didn't work. I tried:
> >> >
> >> > wget --post-data="user=XXXX&password=XXXX" -O cal.ics
> >> > http://owncloud.xxxx.net/apps/calendar/export.php?calid=1
> >> >
> >> > but still only got the login form.
> >> >
> >> > --
> >> > Med venlig hilsen / Best Regards
> >> >
> >> > Thomas Olsen
> >> > _______________________________________________
> >> > Owncloud mailing list
> >> > Owncloud at kde.org
> >> > https://mail.kde.org/mailman/listinfo/owncloud
> >
> > --
> > Med venlig hilsen / Best Regards
> >
> > Thomas Olsen
--
Med venlig hilsen / Best Regards
Thomas Olsen
More information about the Owncloud
mailing list