Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.RemoveFile

TElSimpleSFTPClient     See also     


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


Removes the file on a server side.

Declaration

[C#]
    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)

[Java]
    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