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. - Robin Appelman On Tue, Nov 29, 2011 at 16:41, Thomas Olsen <[email protected]> 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 <[email protected]> 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 >> > [email protected] >> > https://mail.kde.org/mailman/listinfo/owncloud > -- > Med venlig hilsen / Best Regards > > Thomas Olsen _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
