[TYPO3-dev] upload subfolder

Dmitry Dulepov dmitry at typo3.org
Wed Nov 8 15:43:13 CET 2006


Bartosz Aninowski wrote:
> HI
> How can I upload files in BE from my extension to upload/tx_myext/subfolder
> I want to upload files to fg upload/tx_myext/XXXX where XXXX is current year 
> 2006
> Can you give me a hint?

Yes :)

Upload folder is set in $TCA for your tables. Nothing prevents you from 
doing this:
	'uploadfolder' => 'uploads/tx_myext/' . date('Y'),
but folder must exist.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)




More information about the TYPO3-dev mailing list