Discuss this help topic in SecureBlackbox Forum


TElCustomFileSystemAdapter     See also     

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

Copies the specified file to another location.


    virtual int FileCopy(string FromName, string ToName);

    Overridable Function FileCopy(ByVal FromName As String, ByVal ToName As String) As Integer

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

    int32_t FileCopy(const std::string &FromName, const std::string &ToName);

    integer FileCopy(string $FromName, string $ToName)


  • 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:


    Use this method to copy files in the file system.

See also:     FileDelete     FileMove    

Discuss this help topic in SecureBlackbox Forum