Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileMove

TElCustomFileSystemAdapter     See also     


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


Renames or moves the specified file to another location.

Declaration

[C#]
    int FileMove(string FromName, string ToName);

[VB.NET]
    Function FileMove(ByVal FromName As String, ByVal ToName As String) As Integer

[Pascal]
    function FileMove(const FromName, ToName : string) : integer; virtual; abstract;

[C++]
    int32_t FileMove(const std::string &FromName, const std::string &ToName);

[PHP]
    integer FileMove(string $FromName, string $ToName)

[Java]
    int fileMove(String arg0, String arg1);

Parameters

  • FromName - specifies the name of the file to be renamed/moved.
  • ToName - the new name/location of the file.

Return value

    Returns a VFS error code.

Possible values:

Description

    Use this method to rename or move files in the file system.

See also:     FileCopy     FileDelete    

Discuss this help topic in SecureBlackbox Forum