---
title: "How to Upload Attachments using Salesforce Data Loader?"  
description: "How to Upload Attachments using Salesforce Data Loader?"  
author: "Sylvester Balchunas"  
published: 2018-02-08  
canonical: https://answers.mindstick.com/qa/34223/how-to-upload-attachments-using-salesforce-data-loader  
category: "salesforce"  
tags: ["salesforce", "dataloader", "upload attachments"]  
reading_time: 2 minutes  

---

# How to Upload Attachments using Salesforce Data Loader?

How to [Upload](https://www.mindstick.com/forum/34295/how-to-upload-image-in-mvc) Attachments using [Salesforce](https://www.mindstick.com/articles/12736/exploring-the-usage-and-benefits-of-salesforce-for-businesses) [Data](https://yourviews.mindstick.com/view/84027/what-does-google-do-with-your-data) [Loader](https://www.mindstick.com/forum/156609/create-loader-with-bootstrap)?

## Answers

### Answer by Tarun Gautam

## Salesforce Data Loader can be used to upload attachments to Salesforce. To upload the attachments note the following:

- If you are planning to upload the attachments via the Bulk API, it is required to verify that the attachment is being uploaded through the Bulk API Batch as Zip file, and the Setting or Setting page is enabled.
- But, if you are migrating the attachments from one source to a targeted Salesforce destination (organization), begin by the requesting a data export for the source organization. Now, the Schedule Export Page, make sure to check the Include Attachments, that causes the file Attachment.csv to be included in your export. Now, you can use that CSV file to upload attachments.

## To upload the Attachments:

- Clarify that the CSV file you expect to use for attachment, importing contains the following required columns (each column represents a Salesforce field): \
- It ensures that the values in the Body column contain the full file name of the attachments as they exist on our computer. Like, an attachment which name is myattachment.jpg is located on our computer at a location, c:\Export, its Body must specify c:\Export\myattachment.jpg. The CSV file looks like this: \

```
ParentId, Name, Body
50030000000VDowAAG,attachment1.jpg, C:\Export\attachment1.gif
701300000000iNHAAY,attachment2.doc,C:\Export\files\attachment2.doc
```

This file can also include other optional Attachment fields, like Description.\


---

Original Source: https://answers.mindstick.com/qa/34223/how-to-upload-attachments-using-salesforce-data-loader

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
