The Asset Manager should have a CMP page for importing assets from a folder. The use-case is that a user uploads a bunch of assets via FTP/SSH to a folder on their site. Then they log into the MODX manager and open this CMP. They select this folder and click "Import".
There should be an option for whether they want to move or copy the assets.
Once this form is submitted, the script should walk through the directory and import each asset by moving or copying it into position and creating a database record (just like when a user uploads a file in the manager). See the assets class' "fromFile" method.
The Asset Manager should have a CMP page for importing assets from a folder. The use-case is that a user uploads a bunch of assets via FTP/SSH to a folder on their site. Then they log into the MODX manager and open this CMP. They select this folder and click "Import".
There should be an option for whether they want to move or copy the assets.
Once this form is submitted, the script should walk through the directory and import each asset by moving or copying it into position and creating a database record (just like when a user uploads a file in the manager). See the assets class' "fromFile" method.