# csv dateien per shell importieren - importer instanzieren

**URL:** https://forum.shopware.com/t/csv-dateien-per-shell-importieren-importer-instanzieren/20319
**Category:** Shopware 3.5
**Tags:** programming
**Created:** [15. Mai 2014 um 19:20 UTC](https://forum.shopware.com/t/csv-dateien-per-shell-importieren-importer-instanzieren/20319 "2014-05-15T19:20:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![scuba303](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@scuba303](https://forum.shopware.com/u/scuba303)
#### Post date: [15. Mai 2014 um 19:20 UTC](https://forum.shopware.com/t/csv-dateien-per-shell-importieren-importer-instanzieren/20319/1 "2014-05-15T19:20:01Z")

</div>

hallo. kann ich den importer, mit dem ich csv dateien im backend importieren kann, auch von der shell instanzieren? also ein kleines php skript mit includes, um dann in einem verzeichnis nach csv dateien zu suchen. das schwebt mir grade vor. mit dem csv format komme ich bezüglich varianten besser klar als mit der api.

---

<div class="post-metadata">

### Author: ![scuba303](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@scuba303](https://forum.shopware.com/u/scuba303)
#### Post date: [15. Mai 2014 um 20:20 UTC](https://forum.shopware.com/t/csv-dateien-per-shell-importieren-importer-instanzieren/20319/2 "2014-05-15T20:20:47Z")

</div>

die commands wären ja ein ansatz. da hänge ich aber im moment an [quote] $results = new Shopware\_Components\_CsvIterator($filePath, ‚;‘); Fatal error: Class ‚Shopware\Commands\Shopware\_Components\_CsvIterator‘ not found in I:\shopware42\Uwamp\www\engine\Shopware\Commands\ImportCSVCommand.php[/quote] dachte mal so ganz auf blöd das komplette import export geraffel in einen command verpacken.

---

<div class="post-metadata">

### Author: ![scuba303](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@scuba303](https://forum.shopware.com/u/scuba303)
#### Post date: [16. Mai 2014 um 09:12 UTC](https://forum.shopware.com/t/csv-dateien-per-shell-importieren-importer-instanzieren/20319/3 "2014-05-16T09:12:14Z")

</div>

mit `use Shopware\Components\Shopware\_Components\_CsvIterator;` komme ich auch nicht weiter. `Fatal error: Class 'Shopware\Components\Shopware\_Components\_CsvIterator' not found` jemand vielleicht einen kleinen hinweis, um mich auf den weg zu bringen?
