PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Note: 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 the 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.

Note: 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
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment