An NDoc Documented Class Library |

# FTPConnection.LocalDirectory Property

The working directory on the local file-system into which files are downloaded.

public string LocalDirectory {get; set;}

#### Remarks

`LocalDirectory` must be an absolute path, e.g. C:\work\ftp

`LocalDirectory` is specific to this component, i.e. changing it does not change the working directory of the application using this assembly. Files are downloaded into this directory if it is set and a relative path or no path is supplied as the destination filename.

`LocalDirectory` is `null` by default meaning that the application's normal working directory is used when downloading files.

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace