Log in
Model

Upload

Magento\ImportExport\Model\Source\Upload

What it does

This class handles the upload of import source files (CSV or ZIP) in Magento 2's import/export functionality.

Developers use this class when implementing custom import processes to validate and move uploaded files to the var/importexport directory, with automatic file renaming and security checks.

Public Methods

  • uploadSource()