title: Zend Framework 2 Image Uploader Issue
body: <p>I am having a issue in uploading images from Zend Framework2 It worked fine for but now it give an issue saying "File was not found" when I print the Adapter and I need to have 2 file Uploaders in the same form</p>
  
  <p>Here is my controller coding for file uploading </p>
  
  <blockquote>
  <pre><code>            $adapter = new \Zend\File\Transfer\Adapter\Http();
              $files = $adapter-&gt;getFileInfo();
              $mediaFileHttpPostName = 'attr_image';
  </code></pre>
  </blockquote>
  
  <pre><code>            $imageFile = $files[$mediaFileHttpPostName];
  
  
  
              $adapter-&gt;setDestination('./public/media');
              // $adapter-&gt;addValidator('Extension', false, array('jpge'), $mediaFileHttpPostName);
  
              $adapter-&gt;addFilter('Rename',
                  array(
                      'target'=&gt;  './public/media/'.$imageFile['name'],
                      'overwrite'=&gt;true),
                  $mediaFileHttpPostName);
  
  
  
              if (!$adapter-&gt;isValid()){
                  $returnObject-&gt;errorMessage = $adapter-&gt;getMessages();
                  $returnObject-&gt;result = 0;
              } else {
                  try {
                      $adapter-&gt;receive($mediaFileHttpPostName);
                      $returnObject-&gt;result = 1;
                  } catch (\Zend\Filter\Exception\InvalidArgumentException $e) {
                      $returnObject-&gt;errorMessage = $e-&gt;getMessage();
                      $returnObject-&gt;result = 0;
                  }
              }
  
              $resizeObj = new Imageresize('./public/media/'.$imageFile['name']);
              $resizeObj -&gt; resizeImage(400, 300, 'auto');
              $resizeObj -&gt; saveImage($_SERVER['DOCUMENT_ROOT'] .'/uploads/attraction/main_image/'.$imageFile['name'], 100);
  
              $attra-&gt;setAttrImage($imageFile['name']);
  </code></pre>