# Perform Bluetooth OPP server functions Source: [https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-server-functions.html](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-server-functions.html) You can verify Bluetooth OPP server functionality using the commands provided in the main menu of obexctl. ## Receive a file in server role To receive a file in the server role, do the following: 1. Pair the DUT and the remote device. For instructions, see [Pair with a remote Bluetooth device](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-gap-functions.html#bluez-perform-bluetooth-gap-functions__section_h4c_1bs_lcc_navyanka_08-21-24-1205-46-507). 2. Initiate a connection from the remote device to the DUT. 3. Send any file from the remote device to the DUT through Bluetooth sharing. The transfer prints appear in the `obexctl` screen of the DUT. The file is transferred to the DUT and stored at /var/bluetooth. **Sample output** [NEW] Session /org/bluez/obex/server/session6 [NEW] Transfer /org/bluez/obex/server/session6/transfer5 [CHG] Transfer /org/bluez/obex/server/session6/transfer5 Size: 36 [CHG] Transfer /org/bluez/obex/server/session6/transfer5 Status: active [CHG] Transfer /org/bluez/obex/server/session6/transfer5 Transferred: 36 (@0KB/s 00:00) [CHG] Transfer /org/bluez/obex/server/session6/transfer5 Status: complete [DEL] Transfer /org/bluez/obex/server/session6/transfer5 [DEL] Session /org/bluez/obex/server/session6 [22:22:75:C2:D2:72]#Copy to clipboard **Parent Topic:** [Object Push Profile](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-opp.html) Last Published: Dec 26, 2024 [Previous Topic Object Push Profile](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-opp.md) [Next Topic Perform Bluetooth OPP client functions](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-perform-bluetooth-opp-client-functions.md)