.. _zend.form.file-upload: File Uploading ============== Zend Framework provides support for file uploading by using features in ``Zend\Form``, ``Zend\InputFilter``, ``Zend\Validator``, ``Zend\Filter``, and ``Zend\ProgressBar``. These reusable framework components provide a convenient and secure way for handling file uploads in your projects. .. note:: If the reader has experience with file uploading in Zend Framework v1.x, he/she will notice some major differences. ``Zend_File_Transfer`` has been deprecated in favor of using the standard ZF2 ``Zend\Form`` and ``Zend\InputFilter`` features. .. note:: The file upload features described here are specifically for forms using the ``POST`` method. Zend Framework itself does not currently provide specific support for handling uploads via the ``PUT`` method, but it is possible with PHP. See the `PUT Method Support`_ in the PHP documentation for more information. .. _`PUT Method Support`: //php.net/manual/en/features.file-upload.put-method.php Standard Example ---------------- Handling file uploads is *essentially* the same as how you would use ``Zend\Form`` for form processing, but with some slight caveats that will be described below. In this example we will: - Define a **Form** for backend validation and filtering. - Create a **view template** with a ``