title: zend saving image from url
body: <p>i am extracting all img urls from an array  and getting image urls from external sites...</p>
  
  <p>how do i go about saving these images?</p>
  
  <p>i tried using</p>
  
  <pre><code>$upload = new Zend_File_Transfer_Adapter_Http();
   $upload-&gt;setDestination("img/");
  
   # Returns the file name for 'doc_path' named file element
   $name = $upload-&gt;getFileName('http://zendguru.files.wordpress.com/2009/04/ajax-form1.jpg');
  </code></pre>
  
  <p>but im getting nothing saved plus  its saying
  Call to undefined method:- <code>Zend_File_Transfer_Adapter_Http::setOption()</code></p>