Setting the Target Folder Path on the OBEX Server (Windows Embedded CE 6.0)


The IObexDevice::SetPath method is used to set the base directory for received files. The path name is defined in the Name header. This header resets the root directory for received files.The SetPath request and response must fit in one OBEX packet and have the final bit set.

If a server does not implement SetPath, it can return Bad Request, C0 or Forbidden, C3. If this occurs, the client decides whether or not to proceed. When a new OBEX connection is established, the OBEX server's current folder is its root folder. Clients can retrieve or serve objects from the root folder without running the SetPath command.

Community Additions