MIFindNextFtpFile() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

Purpose

Continues a file search begun with a call to the MIFindFtpFile() function with the given CFtpFileFind handle.

Syntax

MIFindNextFtpFile( ByVal hFTPFind As CFtpFileFind ) As SmallInt

hFTPFind is a CFtpFileFind handle.

Return Value

Nonzero if there are more files; zero if the file found is the last one in the directory or if an error occurred.

Description

You must call MIfindNextFtpFile() at least once before calling any attribute function, such as MIGetFtpFileName() procedure, MIIsFtpDirectory() function, and MIIsFtpDots() function.