Connects to the specified URI. If the path specified by the URI ends with a
/ then the working directory is changed to the path specified.
Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
| C# |
|---|
public static FtpClient Connect( Uri uri ) |
| Visual Basic |
|---|
Public Shared Function Connect ( uri As Uri ) As FtpClient |
| Visual C++ |
|---|
public: static FtpClient^ Connect( Uri^ uri ) |
Parameters
- uri
- Type: System..::..Uri
The URI to parse
Return Value
Type: FtpClientFtpClient object