---
title: kCFFTPStatusCodeKey
framework: cfnetwork
role: symbol
role_heading: Global Variable
path: cfnetwork/kcfftpstatuscodekey
---

# kCFFTPStatusCodeKey

## Declaration

```swift
let kCFFTPStatusCodeKey: CFString
```

## Discussion

Discussion If an error of type kCFFTPErrorUnexpectedStatusCode is returned, querying this key returns the last status code sent by the FTP server in response to the previous operation.

## See Also

### Constants

- [kCFURLErrorFailingURLErrorKey](cfnetwork/kcfurlerrorfailingurlerrorkey.md)
- [kCFURLErrorFailingURLStringErrorKey](cfnetwork/kcfurlerrorfailingurlstringerrorkey.md)
- [kCFGetAddrInfoFailureKey](cfnetwork/kcfgetaddrinfofailurekey.md)
- [kCFSOCKSStatusCodeKey](cfnetwork/kcfsocksstatuscodekey.md)
- [kCFSOCKSVersionKey](cfnetwork/kcfsocksversionkey.md)
- [kCFSOCKSNegotiationMethodKey](cfnetwork/kcfsocksnegotiationmethodkey.md)
- [kCFDNSServiceFailureKey](cfnetwork/kcfdnsservicefailurekey.md)
