AJ, $upload = new Zend_File_Transfer_Adapter_Http(); $upload->addValidator('Size', false, 200000, 'file1'); $upload->setDestination('/home/uglymen/public_html/tmp/'); $files = $upload->getFileInfo(); $i=0; foreach ($files as $file => $info) { if($upload->isValid($file)){ $ext = pathinfo($info['name']); $upload->addFilter('Rename', array('target' => '/home/uglymen/public_html/tmp/image_'.$userid.'_'.date('Ymdhs').'.'.$ext['extension'], 'overwrite' => true),'file1'); $upload->receive($file); $i++; } }
Here was my final fix you have to give full path to the file. Im not sure on the regex but I am interested in your resolution as I would love to add that filter on a diff project Eric Haskins -- View this message in context: http://www.nabble.com/Zend_File_Transfer_Adapter_Http%28%29-Rename-Filter-issue-tp21823191p21867673.html Sent from the Zend Framework mailing list archive at Nabble.com.