Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.CopyObject

TElWebDAVClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Creates a copy of the remote object.

Declaration

[C#/Java]
    void CopyObject(string SrcURL, string DestURL, bool Overwrite /* = false */, TElWebDAVLockList Locks /* = null */, TElWebDavErrorList Errors /* = null */);
    void CopyObject(TElWebDAVStorageObject Src, TElWebDAVStorageObject Dest, bool Overwrite /* = false */, TElWebDavErrorList Errors /* = null */);

[VB.NET]
    Sub CopyObject(ByVal SrcURL As String, ByVal DestURL As String, ByVal Overwrite As Boolean = False, ByVal Locks As TElWebDAVLockList = Nothing, ByVal Errors As TElWebDavErrorList = Nothing)
    Sub CopyObject(ByVal Src As TElWebDAVStorageObject, ByVal Dest As TElWebDAVStorageObject, ByVal Overwrite As Boolean = False, ByVal Errors As TElWebDavErrorList = Nothing)

[Pascal]
    procedure CopyObject(const SrcURL, DestURL : string; const Overwrite : boolean = false; const Locks : TElWebDAVLockList = nil; const Errors : TElWebDavErrorList = nil);
    procedure CopyObject(Src, Dest : TElWebDAVStorageObject; const Overwrite : boolean = false; const Errors : TElWebDavErrorList = nil);

[C++]
    void CopyObject(const std::string &SrcURL, const std::string &DestURL, bool Overwrite, TElWebDAVLockList &Locks, TElWebDavErrorList &Errors);
    void CopyObject(const std::string &SrcURL, const std::string &DestURL, bool Overwrite, TElWebDAVLockList *Locks, TElWebDavErrorList *Errors);
    void CopyObject(TElWebDAVStorageObject &Src, TElWebDAVStorageObject &Dest, bool Overwrite, TElWebDavErrorList &Errors);
    void CopyObject(TElWebDAVStorageObject *Src, TElWebDAVStorageObject *Dest, bool Overwrite, TElWebDavErrorList *Errors);

[PHP]
    void CopyObject(string $SrcURL, string $DestURL, bool $Overwrite, TElWebDAVLockList $Locks, TElWebDavErrorList $Errors)
    void CopyObject(TElWebDAVStorageObject $Src, TElWebDAVStorageObject $Dest, bool $Overwrite, TElWebDavErrorList $Errors)

Parameters

  • SrcURL - source URL.
  • Src - source object.
  • DestURL - destination URL.
  • Dest - destination object.
  • Overwrite - specifies whether to overwrite existing object.
  • Locks - locks put on the resourse.
  • Errors - list where the errors will be stored.

Description

    Use this method to copy resources on the remote server.

See also:     MoveObject     Rename    

Discuss this help topic in SecureBlackbox Forum