⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

create upload directory if not exsist



Hosef Reyes
  • profile picture
  • Member

Posted 23 January 2013 - 06:54 AM

Guys,
I really love using Grocery Crud, not just it simplified most of my project's coding, but also it has a rich documentation and helpful members.

I just want to ask if we can create a directory before we upload.
Cause on my incoming project, I have upload materials which will be uploaded on different directories, each directories will be named according to the materials title (something like that).

I was aware of the callback before upload function, hopes it will be the the solution on my problem.

By the way I just want to clarify if is possible to create the upload directory before we upload something on it using grocery crud's file upload and callback before upload?

Hope it will give some hint to developer newbies like me and to all members who need it.

Thanks for your response.