[TYPO3-dam] delete dam file from cli [SOLVED]

Stano Paška stano.paska at gmail.com
Mon Jun 14 09:43:56 CEST 2010


I tried tx_dam::process_deleteFile, this gave me error: Target was not
within your mountpoints.

Then I add mountpoint (and permission to write to Media sysfolder) to my
_cli_xxx user and everything is fine.

Stano.


On Sun, Jun 13, 2010 at 1:21 PM, Stano Paška <stano.paska at gmail.com> wrote:

> Hi,
>
> in my extension in TYPO3_cliMode I need delete file from DAM correctly.
> I am able do it manually (delete file, delete record from tx_dam,
> tx_dam_mm_ref, decrease counter in foreign table and update reference
> index), but I am looking for some API to do it automatically.
>
> I tried tx_dam::notify_fileDeleted, but nothing happens.
>
> I am using DAM 1.1.5 and TYPO3 4.2.12
>
> Thanks for advice.
>
> Stano.
> _______________________________________________
> TYPO3-project-dam mailing list
> TYPO3-project-dam at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-dam
>


More information about the TYPO3-project-dam mailing list