wwSFtpClient::ListFiles

Retrieves a directory listing from the server with all files returned as a collection.

The file object returned includes the following properties:

  • FullName - full remote path
  • Name - the file name only
  • Length - file size
  • LastWriteTime
  • IsDirectory
o.ListFiles(lcFtpPath)

Return Value

FoxPro collection of files or .NULL. on failure

Parameters

lcFtpPath
A path on the remote FTP server from which to retrieve files.

Examples:

  • /
  • /SubFolder
  • /SubFolder/SubFolder1

See also:

Class wwSFtpClient

© West Wind Technologies, 1996-2024 • Updated: 05/26/24
Comment or report problem with topic