[Zope] Inserting multiple files.

After Dark afterz@zipmail.com
Mon, 04 Jun 2001 11:18:08 -0400


I was thinking in a way to insert my files through FTP with
the meta_type that I want. Then I tought: Why not change it
after insert it??

Is there a way??
I tryed to do another thing too... but I think I won't work.
Can it work some how??


<head>
<base href="<dtml-var "REQUEST['BASE2']">" />
</head>

<body bgcolor="#FFFFFF" alink="000BF" vlink="0000BF"
link="0000BF">
<dtml-if objectValues>
<dtml-in "objectValues">
  <dtml-call expr="manage_delObjects(id)">
  <dtml-call "REQUEST.set('id',id)">
  <dtml-call "REQUEST.set('file','/usr/local/'+id)">
  <dtml-call "REQUEST.set('title','')">
  <dtml-try>
    <dtml-with "CatalogFileClass.createInObjectManager(REQUEST['id'],
REQUEST)">
      <dtml-call "propertysheets.InstanceConstants.manage_editProperties(REQUEST)">
    </dtml-with>
    <br>Arquivo Incluido com sucesso!
  <dtml-except>
    <p><center>
    Nome do arquivo invalido.
    </center></p>
  </dtml-try>
</dtml-in>
<dtml-else>
      <br><blockquote>Nao ha itens nesta
pasta.</blockquote><br>
</dtml-if>

</body>

--
--Ricardo Kohler
          Costa
________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/