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

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULFileTransfer 类

 

FileName 属性

指定要下载文件的名称。

语法
Visual Basic
Public Property FileName As String
C#
public string  FileName { get; set; }
属性值

字符串,用于指定由 MobiLink 服务器所识别的文件的名称。此属性没有缺省值,因此必须进行显式设置。

注释

FileName 是正在运行 MobiLink 的服务器上文件的名称。MobiLink 将首先在 UserName 子目录中搜索此文件,然后会在根目录中进行搜索(根目录是通过 MobiLink 服务器的 -ftr 选项指定的)。FileName 不得包含任何驱动器和路径信息,否则,MobiLink 服务器将无法找到该文件。例如,"myfile.txt" 有效,而 "somedir\myfile.txt"、"..\myfile.txt" 和 "c:\myfile.txt" 均无效。

另请参见