Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

FTP.Server.FindFile

Andrew Lambert edited this page Jul 27, 2017 · 3 revisions

FTP.Server.FindFile

Method Signature

 Protected Function FindFile(Name As String, AllowNonExistant As Boolean = False) As FolderItem

Parameters

Name Type Comment
Name String The name or path of the file or directory to locate.
AllowNonexistant Boolean Optional. Whether or not to return files that don't exist.

Return value

The located FolderItem, or Nil if not found/doesn't exist.

Notes

Locates the local file specified by Name, which may be a name or a relative or absolute path. Paths are relative to the server's RootDirectory if they begin with a slash (/) and relative to the WorkingDirectory if not.

Clone this wiki locally