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

René Schade schade at hypergenic.com
Tue May 10 08:58:32 CEST 2005


> > 
> > 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? 
> 

Hmmm. Let me try to explain it in another way. 

1. The user uploads a file to, lets say, /fileadmin/myfiles/file.xml

2. The user creates a record, and this record select the file.

3. The record is created, and a copy of the file is moved to the folder
uploads/wx_webnize, and the copied file is named file_01.xml

4. This is all just fine. But, if the user uploads the file once again
to /fileadmin/myfile/file.xml, due to some changes, the file_01.xml is
not automatically updated. This is my problem.

OK, some of you guys say it's a feature, but not to me :-) Then I ask the
questione once again:

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

Another solution is not to use the config type=group internal_type=file, 
but just to use a simple input field, putting the burden on the user.

Regards,
René



More information about the TYPO3-english mailing list