[TYPO3-dev] [Extension] File management
Bernd Wilke
19m0nyq02 at sneakemail.com
Thu Apr 5 16:46:29 CEST 2007
"Sylvain Gourvil" <sylvain.gourvil at mediasmart.fr> schrieb im Newsbeitrag
news:mailman.120580.1175777979.21067.typo3-dev at lists.netfielders.de...
> Hi everybody
>
> I have created an exension with a file selction in backend.
>
> it is working in backend with filemount I defined ...
>
> But if the user choose file 'xxx.jpg' for example, the pi extension will
> get xxx_01.jpg back ?
>
> How could I know which file it is ?
> I red core api documentation and did not find it !
>
> How typo3 manage this ?
>
everytime you select a file in a file-selection box in a field of a plugin
this selected file is copied to a special area (and because of clearness may
be renamed).
afterwards only the filename is stored in the record.
you get this file (independend of deletion/renaming of the original file) in
the path /uploads/tx_<extension>/ (maybe in a further subdirectory like
media/
use your ftp-client to explore the directory structure.:-)
> Thx
>
Bernd
--
www.bernd-wilke.net
More information about the TYPO3-dev
mailing list