Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.MoveObject

TElWebDAVClient     See also     


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


Moves an object on the server.

Declaration

[C#]
    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; Overwrite : boolean = false; Locks : TElWebDAVLockList = nil; Errors : TElWebDAVErrorList = nil);
    procedure MoveObject(Src, Dest : TElWebDAVStorageObject; Overwrite : boolean = false; 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)

[Java]
    void moveObject(String SrcURL, String DestURL, boolean Overwrite, TElWebDAVLockList Locks, TElWebDAVErrorList Errors);
    void moveObject(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 move a resource to another location on the remote server.

See also:     CopyObject     DeleteObject     Rename    

Discuss this help topic in SecureBlackbox Forum