Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.RenameObject

TElDropboxDataStorage     See also     


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


Renames a file.

Declaration

[C#]
    void RenameObject(string SourcePath, string DestPath);
    void RenameObject(TElDropboxDataStorageObject Obj, string DestPath);

[VB.NET]
    Sub RenameObject(ByVal SourcePath As String, ByVal DestPath As String)
    Sub RenameObject(ByVal Obj As TElDropboxDataStorageObject, ByVal DestPath As String)

[Pascal]
    procedure RenameObject(const SourcePath : string; const DestPath : string);
    procedure RenameObject(Obj : TElDropboxDataStorageObject; const DestPath : string);

[C++]
    void RenameObject(const std::string &SourcePath, const std::string &DestPath);
    void RenameObject(TElDropboxDataStorageObject &Obj, const std::string &DestPath);
    void RenameObject(TElDropboxDataStorageObject *Obj, const std::string &DestPath);

[PHP]
    void RenameObject(string $SourcePath, string $DestPath)
    void RenameObject(TElDropboxDataStorageObject $Obj, string $DestPath)

[Java]
    void renameObject(TElDropboxDataStorageObject Obj, String DestPath);
    void renameObject(String SourcePath, String DestPath);

Parameters

  • DestPath - specifies the new name and location of the file.
  • Obj - the file to be renamed.
  • SourcePath - specifies the path to the file to be renamed/moved.

Description

    Call this method to rename a remote file, or move it to another location.

See also:     CopyObject     ObjectExists    

Discuss this help topic in SecureBlackbox Forum