MIFindNextFtpFile() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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.