Gets or sets a value indicating whether a consumer of the FileSet should flatten the output. Flatten means to don't persist directory structure. For example if used to upload files "A/a.txt" and "B/b.txt" to the "/data" directory on a FTP server, files "a.txt" and "b.txt" are uploaded directly into the "/data" directory (directories "A" and "B" are not created in the "/data" directory).

Namespace:  Rebex.IO
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Property Flatten As Boolean
	Get
	Set
C#
public bool Flatten { get; set; }

Field Value

True if flatten the output; false otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also