I need to export my entire website and for that i am using export method of page exporter API
export(page, resourceResolver, target location).
My pages are getting exported inside /var/contentsync folder in crxde itself. i need it in my local machine.
I deleted /var/contentsync folder and then also, i am unable to download the zip in my local.
I wrote a small app recently that does this so I could debug a product issue with content-sync. You can download it here:
The app is under /apps/test/test.jsp
You run it by going to /apps/test.html