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.
Its an html file which should be converted into a Plone document. Ths syntax is very simple:
<html> <head> <title>Test document</title> <meta name="Subject" content="" /> <meta name="Publisher" content="No publisher" /> <meta name="Description" content="" /> <meta name="Contributors" content="" /> <meta name="Effective_date" content="2004-01-12 00:00:00" /> <meta name="Expiration_date" content="2005-12-12 00:00:00" /> <meta name="Type" content="Document" /> <meta name="Format" content="text/html" /> <meta name="Language" content="en" /> <meta name="Rights" content="" /> </head> <body> <p>This is the test document I am trying to ftp to Plone</p> </body> </html>
The idea is to keep the effective dates and expiration dates of my old Zope objects when ftping them to Plone. It turns out that this problem only occurs with Document types and not with News types.
Jaroslav Luke� (thanks for your answer) suggested using WebDav to upload, but I am having problems using webdav with Plone2 (all this is done locally on my W2K box for the moment). If any Plonistas can help by explaning how to set up the webdav stuff I would be very grateful.
Have a good day
Marie
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )