Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULFileTransfer class

FileName property Next Page

ForceDownload property


Specifies whether to force the download of the file if it exists.

Syntax

Visual Basic

Public Property ForceDownload As Boolean

C#

public bool ForceDownload {get;set;}

Property value

True to force the download of the file, false to perform normal download checks if file exists. The default is false.

Remarks

If ForceDownload is true, the file will always be downloaded, even if it hasn't changed, and any existing partial download is discarded. If ForceDownload is false, the file will only be downloaded if the server's version of the file is different from the client's. Note that if the file is changed on either the client or the server, specifying ForceDownload true will cause the server version to overwrite the client version.

See also