KEraseFile Method

Navigation:  Reference Guide > Kermit Commands > Methods >

KEraseFile Method

Previous pageReturn to chapter overviewNext page

Performs a Kermit "Erase File" command.

[Visual Basic .NET]

Public Sub KEraseFile(ByVal File As String)

[C#]

public void KEraseFile(string File);

Parameters

File

    The relevant path name of file to be deleted on Kermit server.

 

Remarks

After this command is executed on Kermit server, Kermit sends the command execution status back to MegaPipe and KCommandDone event is fired indicating whether this command is executed successfully or execution fails (an error message is passed back).

 

See Also

KCommandDone Event