One thing to add is that you will want to use something like this to handle subdirs
echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir1');
echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir2');
I have committed a quick and dirty solution for https://github.com/srs81/CakePHP-AjaxMultiUpload/issues/7
One thing to add is that you will want to use something like this to handle subdirs echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir1'); echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir2');