---
schema_version: "1"
id: 7aac421b9acc44ba696fab4061d96a631cd1c5622e494d06c38e2da0feed77d6
title: Transfer File to Agent
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/service-sdk-ios/guides/live-agent-file-transfer.md
canonical_url: https://developer.salesforce.com/docs/service/service-sdk-ios/guide/live-agent-file-transfer.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e6023c21b0c1633e84eb28ada4f7d388a21a1504e81398c68fe503919e46f921
products:
  - Embedded Service Chat SDK for iOS Developer Guide
  - Service Cloud Developer Content
---

# Transfer File to Agent

Give users the ability to transfer files during a chat so they can share information about their issues.

**important:** The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to [Messaging for In-App and Web](https://help.salesforce.com/s/articleView?id=service.miaw_intro_landing.htm&type=5) before that date. Messaging offers many of the [chat features](https://help.salesforce.com/s/articleView?id=service.miaw_chat_vs_messaging.htm&type=5) that you love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in [Help](https://help.salesforce.com/s/articleView?id=001790618&type=1).

The agent can request that the user transfer a file by clicking the **Attach File** button from the Service Cloud Console.

![Attach file in Service Cloud](https://developer.salesforce.com/docs/media/service-sdk/live-agent-attach-file.png '{"class": "image-xs"}')

The user sees a **FILE TRANSFER REQUESTED** message in the app and can then send a file using the paperclip button.

![Attach file from app](https://developer.salesforce.com/docs/media/service-sdk/live-agent-attach-file-app.png '{"class": "image-xs"}')

No coding is necessary in your app to make this behavior work.

See [Transfer Files During a Chat](https://help.salesforce.com/apex/HTViewHelpDoc?id=live_agent_transfer_files.htm) in Salesforce Help for details about setting up this functionality in the Service Cloud Console.

**note:** If your app crashes when a user attempts to perform a file transfer, check that you've enabled the device privacy permissions for the camera and the photo library. An app will crash if these permissions are not set in Xcode. See [Install the Service Chat SDK for iOS](https://developer.salesforce.com/docs/service/service-sdk-ios/guide/ios-sdk-install-overview.md).
