Partager via


Setting the Target Folder Path on the OBEX Server

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

See Also

Concepts

Client Support