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

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.