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, 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; 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