Reference Library
ExecuteRequest Method
NamespacesMBNCSUtil.NetBnFtpVersion2RequestExecuteRequest()()()()
Executes the BnFTP request, downloading the file to where LocalFileName specifies, and closes the connection.
Declaration Syntax
C#Visual BasicVisual C++
public override void ExecuteRequest()
Public Overrides Sub ExecuteRequest
public:
virtual void ExecuteRequest() override
Remarks

By default, LocalFileName is the same name as the remote file, which will cause the file to be saved in the local application path. The desired location of the file must be set before ExecuteRequest is called.

Exceptions
ExceptionCondition
IOExceptionThrown if the local file cannot be written.
SocketExceptionThrown if the remote host closes the connection prematurely.

Assembly: Asgard5Library (Module: Asgard5Library)