bmcclure / CakePHP-Media-Plugin

A CakePHP (2.0) plugin enabling transfer/manipulation/embedding of files in 23 ways.
Other
60 stars 24 forks source link

No uploads in static dir #38

Closed deluca687 closed 11 years ago

deluca687 commented 11 years ago

Hi,

My uploads are writing to the transfer directory within webroot however are not being moved to the static folder after complete. I've edited bootstrap.php as suggested in issue #30 with no luck. I then reverted to the original bootstrap.php and edited GeneratorBehavior.php as suggested in issue #31, still not getting completed uploads moved from transfer to static directory. Any suggestions?

ndm2 commented 11 years ago

The plugin is not ment to work that way, it will not move anything into the static folder, it only reads from there. The static folders purpose is to hold files required by the application, ie non-user-uploaded files that you want to be able to access using MediaHelper.

bmcclure commented 11 years ago

@deluca687 I'm closing this for now given the point @ndm2 made about the static directory's purpose. However feel free to re-open if you still feel there is an issue or would like further clarification.