This is experimental documentation.
Executes the BnFTP request, downloading the file to where LocalFileName
specifies, and closes the connection.
Declaration Syntax
C# | Visual Basic | Visual 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
Exception | Condition |
---|---|
IOException | Thrown if the local file cannot be written. |
SocketException | Thrown if the remote host closes the connection prematurely. |
Assembly: Asgard5Library (Module: Asgard5Library)