Share via


Setting the Target Folder Path on the OBEX Server

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

The following illustration shows the logic associated with a SetPath command.

The following header is included in the SetPath request packet:

  • Name resets the root directory for received files.

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

Client Support

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.