HTTPGet method

[method icon] HTTPGet(Server$, LocalPath$, RemotePath$, File$)

>HTTPGet

HTTPGet

The HTTPGet(Server, LocalPath, RemotePath, File) method initiates an HTTP transfer from the specified server to the client.

The user is always prompted whether they want to allow the transfer. If they decline the call will fail.

File$ = "report.pdf"
REM Get location of user's 'My Documents' directory
Client.GetSpecialFolderPath(_CSIDL_PERSONAL, BYREF MyDocuments$)
REM We will download from  http://my_web_server/reports
Client.FTPGet("my_web_server", MyDocuments$, RemotePath$, File$)
See also:

BrandSplash, CameraCapture, ClearDirectoryWatchEvent, CreateBookMark, DisplayScreen, EmptyClientCache, EnableUserPreferences, EnableWarnings, FireServiceEvent, ForceDefaultFont, ForceReadableTextMode, FTPGet, FTPPut, GetForms, GetServiceAttribute, GetServiceCookie, GetSpecialFolderPath, OpenServiceWindow, PlaySoundFile, SetCharacterEncoding, SetDefaultIMEMode, SetDirectoryWatchEvent, SetPrinterFontName, SetPrinterFontSize, SetPrinterPort, SetServiceAttribute, SetServiceCaption, SetServiceConnection, SetServiceCookie, SetServiceUrl, SetThrottle, ShowSIP