---
title: retrieveFolderListing()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/obexfiletransferservices/retrievefolderlisting()
---

# retrieveFolderListing()

Get a remote directory listing

## Declaration

```swift
func retrieveFolderListing() -> OBEXError
```

## Return Value

Return Value kOBEXSuccess or kOBEXSessionBusyError initially. Further results returned through the fileTransferServicesRetrieveFolderListingComplete: delegate method if initially successful.

## Discussion

Discussion Equivalent to ‘ls’.
