An NDoc Documented Class Library |

# FTPConnection.GetURL Method (Boolean, Boolean, Boolean)

Returns a URL corresponding to the current state of this `SecureFTPConnection`. The URL optionally includes the directory, user-name and password.

public virtual string GetURL(
bool includeDirectory,
bool includeUserName,
bool includePassword
);

#### Parameters

includeDirectory
  Should the directory be included in the URL?
includeUserName
  Should the user-name be included in the URL?
includePassword
  Should the password be included in the URL?

#### Return Value

URL corresponding to the current state of this `SecureFTPConnection`

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace | FTPConnection.GetURL Overload List