#393: REST - PUT File Uploading
---------------------+------------------------------------------------------
 Reporter:  RossC0   |       Owner:  david    
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  0.11     
Component:  _OTHER_  |     Version:  0.11.0RC1
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 '''!AgaviWebRequest.class.php'''

 On David's branch.

 {{{
   $putFile = tmpfile();

   stream_copy_to_stream(fopen("php://input", "rb"), $putFile);
 }}}

 This fails to save the file correctly.  tmpfile's disappear on fclose so
 perhaps stream_copy_to_stream is really helpful and closes it for you!!

 This means that $file->move() fails when it comes to saving the file for
 future use.

-- 
Ticket URL: <http://trac.agavi.org/ticket/393>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to