Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileCopy

TElCustomFileSystemAdapter     See also     


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


Copies the specified file to another location.

Declaration

[C#/Java]
    int FileCopy(string FromName, string ToName);

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

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

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

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

Parameters

  • FromName - specifies the name of the file to be copied.
  • ToName - the location where the file should be copied.

Return value

    Returns a VFS error code.

Possible values:


Description

    Use this method to copy files in the file system.

See also:     FileDelete     FileMove    

Discuss this help topic in SecureBlackbox Forum