[Zope] Copy file in filesystem

Amr Malik aeamalik@yahoo.com
Thu, 26 Jul 2001 07:29:49 -0700 (PDT)


--- Gitte Wange <gitte@mmmanager.org> wrote:
...

> I have tried with this:
> import copy
> 
> <a lot of code>
> copy(file_reposit, new_fnreposit)
> </a lot of code>
> 
> I get this error:
> 
> Zope Error
> 
> Zope has encountered an error while publishing this resource.
> 
> Error Type: TypeError
> Error Value: call of non-function (type module)
> 
> If I don't use the import copy Zope just returns an error saying that copy 
> isn't defined.
> 
> How do I then make a copy of a file ???


is this an external method? wonder if copy is allowed in Python Script! hmm...



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/