public function uploadMultiple($files, $handler, $path = null)
    {
        $return = array(
            'errors' => array(),
            'transferred' => array()
        );

        if (!gplcart_file_multi_upload($files)) {
            return $return;
        }

        foreach ($files as $key => $file) {

            $result = $this->upload($file, $handler, $path);

            if ($result === true) {
                $return['transferred'][$key] = $this->getTransferred(true);
            } else {
                $return['errors'][$key] = (string) $result;
            }
        }

        return $return;
    }