I have googled for nearly an hour for a solution to this problem, even though it should be quite simple. I have a manager user, I wish to overwrite dtml documents in my directory instead of having it create copy_of_file.html is there a way to do this? I am moving files from a development site to a live site. Thanks. -- Elizabeth // Lyz@PrincessLeia.com http://www.princessleia.com
On Tue, 3 Feb 2004 08:01:09 -0500, Elizabeth <lyz@princessleia.com> wrote:
I am moving files from a development site to a live site.
FTP ist your friend. /path/to/zope/z2.py --help look for -f and which default port is used (i.e. 8021) -- The Count http://count0.dyndns.org Opening Every Attachment Is Like Eating Everything You Find On The Street Because It Might Be Sweet.
On Tue, Feb 03, 2004 at 02:24:17PM +0100, The Count wrote:
On Tue, 3 Feb 2004 08:01:09 -0500, Elizabeth <lyz@princessleia.com> wrote:
I am moving files from a development site to a live site.
FTP ist your friend.
/path/to/zope/z2.py --help look for -f and which default port is used (i.e. 8021)
Both the sites are on the live Zope server (the dev site is only viewable to certain users). So all I am doing is copying from one folder in Zope to another, which is identical but viewable to the world. -- Elizabeth // Lyz@PrincessLeia.com http://www.princessleia.com http://www.wallaceandgromit.net
I am moving files from a development site to a live site.
FTP ist your friend.
Both the sites are on the live Zope server (the dev site is only viewable to certain users). So all I am doing is copying from one folder in Zope to another, which is identical but viewable to the world.
Well you could just rename the live-site-folder to "foo" and then copy-paste the dev-folder and rename it to be accessible as the live-site-folder ... :o) But maybe you should think about a more stringent implementation of updating your site. -- The Count http://count0.dyndns.org enjoy your web!
Oh, in the same Zope instance -- use the Zope internal copy support in lib/python/OFS/CopySupport,py On Tue, 3 Feb 2004, Elizabeth wrote:
On Tue, Feb 03, 2004 at 02:24:17PM +0100, The Count wrote:
On Tue, 3 Feb 2004 08:01:09 -0500, Elizabeth <lyz@princessleia.com> wrote:
I am moving files from a development site to a live site.
FTP ist your friend.
/path/to/zope/z2.py --help look for -f and which default port is used (i.e. 8021)
Both the sites are on the live Zope server (the dev site is only viewable to certain users). So all I am doing is copying from one folder in Zope to another, which is identical but viewable to the world.
-- Elizabeth // Lyz@PrincessLeia.com http://www.princessleia.com http://www.wallaceandgromit.net
_______________________________________________ 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 )
ZSyncer On Tue, 3 Feb 2004, Elizabeth wrote:
I have googled for nearly an hour for a solution to this problem, even though it should be quite simple.
I have a manager user, I wish to overwrite dtml documents in my directory instead of having it create copy_of_file.html is there a way to do this? I am moving files from a development site to a live site.
Thanks.
-- Elizabeth // Lyz@PrincessLeia.com http://www.princessleia.com
_______________________________________________ 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 )
Elizabeth wrote:
I have googled for nearly an hour for a solution to this problem, even though it should be quite simple.
I have a manager user, I wish to overwrite dtml documents in my directory instead of having it create copy_of_file.html is there a way to do this? I am moving files from a development site to a live site.
FTP and moving the whole container are probably your easiest solutions. But: One could, I suppose, try to provide an '_get_id(id)' Python script that did not do the "copy_of_" magic and just returned the id it was given. Dunno if that would work. It might. Another solution is to write a script that deletes the other object first. You could also try to do a '_setObject' directly. --jcc -- "Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design." (http://www.devx.com/java/editorial/15511)
participants (4)
-
Dennis Allison -
Elizabeth -
J Cameron Cooper -
The Count