Michael Arndt <extern.michael2.arndt@audi.de> asks:
b) fsimpor i think i have to use it as externel method but i did not know how to provide the function call with an argument i tried to create a dtml-var fsimport in index.html after importing the external method fsaimport from Extensions
but then i got stuck
can anyone give me tips for both ?
I can help you with fsimport. Once you have it set up as an External Method (all the fields in the Add External Method form should have been 'fsimport') you must construct a URL by hand to make it import files. Give it an argument with the name 'fsdir' and the value of the path of the folder or file you wish to import. Use Acquisition to tell fsimport where to place the files. Here's an example-- I have a Zope server at http://widgets.com. I have added fsimportto the root folder. I have Zope Folders at /docs and /docs/html, and on my file system I have a folder called /home/mike/docs with the files I want to import. The URL I use to load the files is: http://widgets.com/docs/html/fsimport?fsdir=/home/mike/docs Mike.