ZOPE, jak poslat soubor na server

Radek Hnilica radek_hnilica na linuxfan.com
Úterý Leden 30 16:16:16 CET 2001


Dobry den,

potrebuji odeslat z klienta textovy soubor na zope server.  Nadefinoval
jsem si tedy metodu send_file asi takto
===============================
<dtml-var standard_html_header>
  <form action="receive_file" method="post" enctype="multipart/form-data">
  <table>
    <tr>
      <td>Soubor nasnimanych dat:</td>
      <td><input type="File" name="file" value="*.txt"></td>
    </tr>
  </table>
  <input type="submit" value=" Odesli ">
  </form>
<dtml-var standard_html_footer>
===================

Nicemene nemuzu dojit na to jak napsat metodu receive file.

Rovnez bych se pri te prilezitosti rad zeptal zdali neexistuje najaky
cesky mailing list ci newsgroup k zope.  Ja jsem nic nenasel.


-- 
Radek Hnilica <Radek_Hnilica at LinuxFan dot COM>


Další informace o konferenci Linux