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

Gets the name of the HTTP file as a URL.

Syntax

MIGetFileURL( ByVal hFile As CHttpFile, pURL As String, 
	ByVal lURLLen As Integer ) As SmallInt

hFile is a CHttpFile handle.

pURL is a reference to a string that receives the name of the HTTP file as a URL.

pURLLen is the size of pURL in number of characters or bytes.

Return Value

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

Description

Use MIGetFileURL() to get the name of the HTTP file as a URL.