PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
OBEXGetFile (Function)
In french: OBEXRécupèreFichier
Retrieves a file from a device that supports the OBEX protocol.
Remark: This function cannot be used if the transfer is performed by infrared.
Syntax
<Result> = OBEXGetFile(<Identifier of OBEX connection> , <Remote file path> [, <Local file path>])
<Result>: Boolean
  • True if the transfer was successful,
  • False otherwise. ErrorInfo returns more details about the problem.
<Identifier of OBEX connection>: Integer
Identifier of OBEX connection to use. This identifier is returned by OBEXConnect.
<Remote file path>: Character string (with quotes)
Name and path of the file to retrieve on the remote device.

Remark: On a Mobile, you can specify a directory in the Bluetooth parameters. This directory corresponds to the root of the OBEX tree structure (which means the "\" directory given by OBEXListFile).
<Local file path>: Optional character string (with quotes)
Full path where the file will be copied. If this parameter is not specified, the file is created with the same name in the current directory.
Remarks
Only the Microsoft bluetooth stacks are supported by this function. To find out the stack used, call BTStack.
See Which stacks to use? for more details
Component : wd250com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment