[Zope] uploading documents to Zope

Joachim Schmitz perry@ac-copy.net
Wed, 14 Jul 1999 21:21:31 +0200 (CEST)


On Wed, 14 Jul 1999, Paul Everitt wrote:

Paul,

apparently I used the wrong ZPublisher in my first try, when I use
ZPublisher from 2.0a4 I get no errors 
load_site -u user:passwd -v http://bassu.ac-copy.net/Zope/IMMO test.dtml
upload_dtml test.dtml               

then in folder IMMO I find a new dtml-doc named "test.dtml" and the
content is the string "test.dtml". That's not exactly what I exspected.
On the server Zope 1.10.3 with apache is running.


> 
> Joachim--
> 
> Zope2 has a utility that can be used with older sites that you outta
> take a look at.  It's in the utilities directory and it's called
> load_site.py.
> 
> It will load the contents of a directory into a folder in Zope,
> converting images to Images, directories to Folders, etc.   Just get the
> source release for alpha4 and grap the script.
> 
> If you have luck with it, please let the list know what you thought of
> it!
> 
> --Paul
> 
> > -----Original Message-----
> > From: Joachim Schmitz [mailto:perry@ac-copy.net]
> > Sent: Wednesday, July 14, 1999 5:03 AM
> > To: zope@zope.org
> > Subject: [Zope] uploading documents to Zope
> > 
> > 
> > 
> > Hi,
> > 
> > I tired with clicking on 6 different icons to upload a 
> > dtml-file which I
> > edited on my local machine. Since I'm not using Zope 2.0 ftp is not an
> > option. I'm thinking of writing a python-script, which does 
> > the same as
> > the Netscape-Composer publish-method. I checked urllib.py, 
> > but found only
> > examples for retrieving files from the server, same for httplib.py.
> > Could someone point me to documentation how to do this, or is this not
> > possible or to difficult at all?
> >  
> > 
> > Gruß
> > 
> > Joachim Schmitz
> > 
> > WWW-Consultant
> > 
> > email: js@ac-copy.net
> > tel: +49-241-89491-0
> > fax: +49-241-89491-29
> > 
> > 
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> > 
> > (For developer-specific issues, use the companion list,
> > zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
> > 
> 

Gruß

Joachim Schmitz

WWW-Consultant

email: js@ac-copy.net
tel: +49-241-89491-0
fax: +49-241-89491-29