# 文件上传

## 入门指南

文件上传是通过IAF CertSearch的文件上传器从外部文件转移数据的过程。

{% hint style="info" %}
**先决条件：**

* 数据以[Excel](/certification-bodies/cb-zh/data-management/data-import/certification-templates/manage-data-in-excel.md)或[XML](/certification-bodies/cb-zh/data-management/data-import/certification-templates/manage-data-in-xml.md)文件格式化
  {% endhint %}

\*\*平均传输速度：\*\*30秒\~2分钟，可能因数据质量而异

\*\*可接受格式：\*\*XLS、XLSX和XML

\*\*推荐：\*\*拥有20至100,000个证书的小、中、大型CBs

***

## 如何通过文件上传导入数据

通过文件上传导入数据的步骤：

1. 转到**数据导入**页面
2. 选择\*\*'文件上传'\*\*作为数据导入方法

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/image%20(3).png" alt=""><figcaption></figcaption></figure>

2. 选择要更新的文件

{% hint style="info" %}
\*\*注意：\*\*每批次只能上传1种文件格式，不允许在同一批次中上传多种文件格式。要了解有关数据导入规则的更多信息，请单击[这里](https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/data-management/data-import/data-import-methods/broken-reference/README.md)。
{% endhint %}

3. 点击上传部分以选择要上传的文件，您也可以将文件拖放到此处：

<figure><img src="https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/.gitbook/assets/image%20(4).png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**注意：每个导入批次最多只能有10个文件**，超过限制的文件将不会包含在上传中。要了解有关上传限制的更多信息，请单击[这里](https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/data-management/data-import/data-import-methods/broken-reference/README.md)。
{% endhint %}

4. 选择文件后，点击**上传**按钮
5. 在第2步中，系统将启动数据验证
6. 验证成功后，您的数据将成功添加到IAF CertSearch

如果在数据验证过程中遇到错误，请阅读[文件上传规则](https://github.com/QualityTrade/iaf-docs-certification-bodies-zh/blob/main/data-management/data-import/data-import-methods/broken-reference/README.md)以指导您解决问题。

***

## 文件上传规则

### **批次文件限制**

验证一次性上传和处理的文件数量，而不是逐个上传它们。

{% hint style="info" %}
**限制：**

* 每批次**10个文件**
* 每个文件可以包含至少10k条记录
  {% endhint %}

<mark style="color:red;">请勿同时上传超过10个文件。</mark>如果您有超过**100k条记录**，建议使用API进行导入。

### 自动跳过


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.iafcertsearch.org/certification-bodies/cb-zh/data-management/data-import/data-import-methods/file-upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
