Ftp Object : System Property |
Visual Basic |
---|
Public Property System As String |
This property is used after the Login method has completed. The value is returned on demand. The first time it is used, a blocking ftpSystem command is sent to the server. Blocked is True while this information is retrieved, and will not timeout unless the connection fails. Once the value of this property is known, it's immediately returned without checking the server.
If blocking behavior is not desired, you can set the Timeout Property to 0 and use the Command method with the string "SYST" to request system information.
Use error handling, since this property can return a run-time error.
This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):