[Zope] Re: Problem with underscore in metatag for ftp upload
Dennis Allison
allison at sumeru.stanford.EDU
Tue Apr 27 03:25:45 EDT 2004
Don't know if this is your problem, but underscores are not legal in URLs.
On Tue, 27 Apr 2004, Marie Robichon wrote:
> At 13:16 26/04/2004 -0700, Jud Dagnall wrote:
> >On Mon, 2004-04-26 at 05:18, Marie Robichon wrote:
> > > I am currently trying to do migrate content from a site to Plone.
> >...
> > > content and would then like to upload it using ftp. However, I have
> > > discovered that the underscore in the 'Effective_date' and
> > > 'Expiration_date' metatags are preventing the html files from being
> > > uploaded and giving me a '426 Error creating file' error (using
> > > FileZilla). If I remove the underscore the files upload fine!
> >
> >Not quite sure I understand what's going on here. Are you trying to
> >upload a file named 'Effective_date'?
> >
> >Seems like you would want to upload the file, and then use the python
> >script to set the metadata for that particular file.
>=20
>=20
> Its an html file which should be converted into a Plone document. Ths=20
> syntax is very simple:
>=20
> <html>
> <head>
> <title>Test document</title>
> <meta name=3D"Subject" content=3D"" />
> <meta name=3D"Publisher" content=3D"No publisher" />
> <meta name=3D"Description" content=3D"" />
> <meta name=3D"Contributors" content=3D"" />
> <meta name=3D"Effective_date" content=3D"2004-01-12 00:00:00" />
> <meta name=3D"Expiration_date" content=3D"2005-12-12 00:00:00" />
> <meta name=3D"Type" content=3D"Document" />
> <meta name=3D"Format" content=3D"text/html" />
> <meta name=3D"Language" content=3D"en" /> <meta name=3D"Rights" content=
=3D"" />
> </head>
> <body>
> <p>This is the test document I am trying to ftp to Plone</p>
> </body>
> </html>
>=20
> The idea is to keep the effective dates and expiration dates of my old Zo=
pe=20
> objects when ftping them to Plone. It turns out that this problem only=
=20
> occurs with Document types and not with News types.
>=20
> Jaroslav Luke=9A (thanks for your answer) suggested using WebDav to uploa=
d,=20
> but I am having problems using webdav with Plone2 (all this is done local=
ly=20
> on my W2K box for the moment). If any Plonistas can help by explaning ho=
w=20
> to set up the webdav stuff I would be very grateful.
>=20
> Have a good day
>=20
> Marie
>=20
>=20
>=20
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -=20
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>=20
More information about the Zope
mailing list