MIFindFtpFile() 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

Finds an FTP file with the given CFtpFileFind handle.

Syntax

MIFindFtpFile( ByVal hFTPFind As CFtpFileFind, ByVal strName As String )
	As SmallInt

hFTPFind is a CFtpFileFind handle.

strDirName is a string that contains the name of the file to find. If it is empty, the call performs a wildcard search (*).

Return Value

Nonzero if successful; otherwise 0. To determine the cause of the failure, call the MIGetErrorMessage() function.

Description

After calling MIFindFtpFile() to retrieve the first FTP file, you can call the MIFindNextFtpFile() function to retrieve subsequent FTP files.