[Typo3] config: type=>"group", internal_type=> "file" ? how toget full path to file?

René Schade schade at hypergenic.com
Mon May 9 14:57:17 CEST 2005


Hello, Christian 

> > Im working on an extension, one of my table-entries is an 
> uploaded XML file.
> > 
> > Using config: type=>"group", internal_type=> "file", sems 
> almost to do the job, except for one thing. The selected file 
> is not stored with the full path, only "filename.xml" is 
> stored in the db.
> ...
> > Does anyone have a fix to that?
> 
> it's a feature.
> 
> In your config you set uploads/tx_webnize as the default 
> upload-path. So the files get copied there. You'll have to 
> add the folder yourself.
> 

Ah, I see. So whenever the user creates a new record, selects my XML file, the file gets copied to the uploads/tx_webnize folder. But what happends, when the user changes the original XML file (overwrites the file), is the copied XML file also updated? No - the answer was from a little test. I need that. 

Is it possible for me to force it to be copied? 

Regards,
René 



More information about the TYPO3-english mailing list