Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.MoveObject

TElWebDAVClient     See also     


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


Moves an object on the server.

Declaration

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

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

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

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

[PHP]
    void MoveObject(string $SrcURL, string $DestURL, bool $Overwrite, TElWebDAVLockList $Locks, TElWebDAVErrorList $Errors)
    void MoveObject(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 move a resource to another location on the remote server.

See also:     CopyObject     DeleteObject     Rename    

Discuss this help topic in SecureBlackbox Forum