KCopy Method

Navigation:  Reference Guide > Kermit Commands > Methods >

KCopy Method

Previous pageReturn to chapter overviewNext page

Performs a Kermit "Copy" command.

[Visual Basic .NET]

Public Sub KCopy(ByVal SrcFile As String, ByVal DstFile As String)

[C#]

public void KCopy(string SrcFile, string DstFile);

Parameters

SrcFile

    The relevant path name of source file on Kermit server.

DstFile

    The relevant path name of destination file 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