Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.RemoveFile

TElSimpleSFTPClient     See also     


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


Removes the file on a server side.

Declaration

[C#/Java]
    void RemoveFile(string Filename);

[VB.NET]
    Sub RemoveFile(ByVal Filename As String)

[Pascal]
    procedure RemoveFile(const Filename: string);

[C++]
    void RemoveFile(const std::string &Filename);

[PHP]
    void RemoveFile(string $Filename)

Parameters

  • Path (Filename) - path to file to be removed
  • Filename - ...

Description

    Use this method to delete the file specified by Path parameter.
    In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.

See also:     RemoveFiles     CreateFile     RenameFile    

Discuss this help topic in SecureBlackbox Forum