Exporting folders using wget
Hello, up to Zope 2.5.x I was able to obtain exports of certain folder via wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_exportObject?download%3Aint=1' I have seen that the download form was renamed to manage_importExportForm but the actual form elements seemed to have the same name. Unfortunately the download does not work any more even if I try wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_importExportForm?download%3Aint=1' Any hint how this can be done right - or any other method to get an export via shell script without user interaction? Kind regards Andreas. -- Mankind must put an end to war before war puts an end to mankind. John F. Kennedy
Andreas Tille wrote at 2003-4-2 22:12 +0200:
up to Zope 2.5.x I was able to obtain exports of certain folder via
wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_exportObject?download%3Aint=1'
Look again at how the ZMI implements export in Zope 2.6.1. I somehow miss the "id" that should be exported. Dieter
On Thu, 3 Apr 2003, Dieter Maurer wrote:
wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_exportObject?download%3Aint=1'
Look again at how the ZMI implements export in Zope 2.6.1. I somehow miss the "id" that should be exported. It was equivalent to <folder> in 2.5.x and if you do this manually in the ZMI it works with empty object id field (provided you use the Import/Export button inside the folder you want to export).
Kind regards Andreas. -- Mankind must put an end to war before war puts an end to mankind. John F. Kennedy
On Fri, 4 Apr 2003, Andreas Tille wrote:
On Thu, 3 Apr 2003, Dieter Maurer wrote:
wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_exportObject?download%3Aint=1'
Look again at how the ZMI implements export in Zope 2.6.1. I somehow miss the "id" that should be exported. It was equivalent to <folder> in 2.5.x and if you do this manually in the ZMI it works with empty object id field (provided you use the
It seems that the possibility to do exports of some folders via wget vanished with Zope 2.6.1. I do not know whether this is a bug which should be reported or a feature. Could anybody enlighten me how I could work around it and solve the following problem <host1> ----- <transport medium = my laptop> ---- <host2> I'm developing *some* projects at host1 (at work) and host2 (at home) and the synchronisation of these projects were done via 1. Export <folder> from Zope at <host1> like above 2. rsync this export to <transport medium> 3. rsync <transport medium> to <host2> 4. Import <folder>.zexp at <host2> There is no direct connection between <host1> and <host2> and transporting the whole Data.fs is no option at all. Any hints how to do this automatically, i.e. without manually exporting the projects? Kind regards Andreas. -- Mankind must put an end to war before war puts an end to mankind. John F. Kennedy
Andreas Tille wrote at 2003-4-8 16:11 +0200:
wget --http-user=<user> --http-pass=<pass> 'http://localhost:9673/<folder>/manage_exportObject?download%3Aint=1'
I just used (on Zope 2.6.1) wget --http-user=<user> --http-passwd=<pwd> 'http://<host>/<path_to_parent>/manage_exportObject?id=<folderId>&download:int=1' successfully. Dieter
participants (2)
-
Andreas Tille -
Dieter Maurer