I have redhat linux with zope server on it, i have a huge directory in my home directory (/home/jzhu/mydir and i have root right). mydir contain html ( one of them if main.html)files and data files. how can I ftp (or cp) mydir to zope database so that i can see it with http://myweb.com:8080/projects/mydir/main.html ? Thanks
Depending upon what you intend to do, you may want to install the LocalFS product and simply view the contents out of the local file system. There are several other products with similar intents which may be better for your purposes. On Tue, 29 Apr 2003, Jianping Zhu wrote:
I have redhat linux with zope server on it, i have a huge directory in my home directory (/home/jzhu/mydir and i have root right). mydir contain html ( one of them if main.html)files and data files. how can I ftp (or cp) mydir to zope database so that i can see it with http://myweb.com:8080/projects/mydir/main.html ?
Thanks
_______________________________________________ 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 )
I have redhat linux with zope server on it, i have a huge directory in my home directory (/home/jzhu/mydir and i have root right). mydir contain html ( one of them if main.html)files and data files. how can I ftp (or cp) mydir to zope database so that i can see it with http://myweb.com:8080/projects/mydir/main.html ?
Zope can, as you suspect, act like an FTP server (and a WebDAV server). You'll have to make sure it's given the FTP server switch (with port) in the start script. Then FTP as normal. If it doesn't work, check your permissions. There are other ways, too. Aside from LocalFS and friends, there's also the load_site.py script that came with your Zope installation (probably in the 'utilities' directory). --jcc
participants (3)
-
Dennis Allison -
J Cameron Cooper -
Jianping Zhu