title: Zend_Form_Element_File consistently says: "file is not readable or does not exist."
body: <p>So I've been going along with the project contained in "Apress, Beginning Zend Framework"
  and it seems I've hit a bit of a snag.</p>
  
  <p>I'm currently using Zf 1.11 in windows(7 ultimate) w/ IIS.</p>
  
  <p>The code for the controller resides in getUpdateForm() (only including the parts that relate to this):</p>
  
  <pre><code>$form-&gt;setAttrib('encytype', 'multipart/form-data');
  
  //Add file upload ability
  $fileUploadElement = new Zend_Form_Element_File('avatar');
  $fileUploadElement-&gt;setLabel('Your Avatar')
  -&gt;setDestination('../public/users');
  $fileUploadElement-&gt;addValidator('Count', true, 1);
  $fileUploadElement-&gt;addValidator('Extension', 'jpg,png,gif');
  $form-&gt;addElement($fileUploadElement, 'avatar');
  </code></pre>
  
  <p>The aciton pair then inlcudes the line:</p>
  
  <pre><code>$form-&gt;avatar-&gt;receive();
  </code></pre>
  
  <p>As far I understand, this meets the requirement to enable a file upload control on a site.
  The problem is that whenever I choose an image to upload it says "File: '' is not readable or does not exist."</p>
  
  <p>This lead me to think it was a permissions problem, so I set full permissions for it. Didn't work.
  Have tried images in dozens of directories. Doesn't work. </p>
  
  <p>I even created a simple script that tests existance, readablility and writability for any seleceted image. It returns true and says they are valid files.</p>
  
  <p>I've spent my first few hours at work here scouring what would cause this and I'm not sure.</p>
  
  <p>I have a feeling this is one of those problems that is going to make me /facepalm when I figure it out.</p>
  
  <p>Any help appreciated.
  Thanks,
  Ken</p>