MIGetFtpFileName() procedure - 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

Gets the name of the found file with the given CFtpFileFind handle.

Syntax

MIGetFtpFileName( ByVal hFTPFind As CFtpFileFind, pFileName As String, 
	ByVal bufferlen As Integer )

hFTPFind is a CFtpFileFind handle.

pFileName is a reference to a string that will receive the name of the found file.

bufferlen is the size of the buffer referenced by pFileName.

Description

You must call MIFindNextFtpFile() function at least once before calling MIGetFtpFileName().