Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.CopyObject

TElWebDAVClient     See also     


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


Creates a copy of the remote object.

Declaration

[C#]
    void CopyObject(string SrcURL, string DestURL, bool Overwrite, TElWebDAVLockList Locks, TElWebDAVErrorList Errors);
    void CopyObject(TElWebDAVStorageObject Src, TElWebDAVStorageObject Dest, bool Overwrite, TElWebDAVErrorList Errors);

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

[Pascal]
    procedure CopyObject(const SrcURL, DestURL : string; Overwrite : boolean = false; Locks : TElWebDAVLockList = nil; Errors : TElWebDAVErrorList = nil);
    procedure CopyObject(Src, Dest : TElWebDAVStorageObject; Overwrite : boolean = false; 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)

[Java]
    void copyObject(String SrcURL, String DestURL, boolean Overwrite, TElWebDAVLockList Locks, TElWebDAVErrorList Errors);
    void copyObject(TElWebDAVStorageObject Src, TElWebDAVStorageObject Dest, boolean 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