浏览指定目录下的文件及文件夹信息列表,默认根目录为 /
Browse the list of file and folder information in the specified directory. The default root directory is /
命名空间:
HslCommunication.Enthernet.Ftp
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.3.0 (12.5.3.0)
语法public OperateResult<FtpFileItem[]> ListFiles(
string parent = "/"
)
Public Function ListFiles (
Optional parent As String = "/"
) As OperateResult(Of FtpFileItem())
public:
OperateResult<array<FtpFileItem^>^>^ ListFiles(
String^ parent = L"/"
)
member ListFiles :
?parent : string
(* Defaults:
let _parent = defaultArg parent "/"
*)
-> OperateResult<FtpFileItem[]>
参数
- parent (Optional)
- 类型:SystemString
指定的目录
返回值
类型:
OperateResultFtpFileItem文件列表信息
参见