edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

ScriptEngineExecuteScript Method (StreamReader, Boolean)

Execute the script in the supplied stream.

Namespace:  EnterpriseDT.Net.Ftp.Script
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public virtual ScriptResult ExecuteScript(
	StreamReader scriptStream,
	bool exitAtEnd
)

Parameters

scriptStream
Type: System.IOStreamReader
input stream containing the script file
exitAtEnd
Type: SystemBoolean
if true, close connection at end

Return Value

Type: ScriptResult
ScriptResult @throws IOException @throws FTPException
See Also