---
title: Automated Post-Processing of Import Files
description: How to automatically move, delete, or rename import files after successful FTP/SFTP import in Shopware 6 to prevent duplicate imports.
---

After successful processing of an import file via FTP/SFTP, the file is automatically moved, deleted, or marked according to defined rules.

## Workflow

1. Edit an **Import Profile**.
2. Open **File Post-Processing Settings**.
3. Choose one action:
    
    ![](/images/Automated_Post-Processing_Of_Import_Files.jpg)
    
- **Move file to archive/success directory**
    
    ![](/images/Automated_Post-Processing_Of_Import_Files_move.png)
    
- **Delete the file after successful import**

- **Rename file** (e.g. add `_processed`)
    
    ![](/images/Automated_Post-Processing_Of_Import_Files_rename.png)

## Result

- The import directory always contains **only unprocessed files**.
- Duplicate imports are prevented.
- Imports run in a controlled, sequential order.
