[TYPO3-dev] POST the path from a <input type="file">?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Dec 4 12:20:58 CET 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Martin Kutschker wrote:
> 
>> I think you can get the path or at least the file name via javascript 
>> and post it in a hidden field. You'll have to find a way to clear the 
>> upload field before submitting.
> 
> 
> There were security restrictions on this... I do not remember details 
> but I had real troubles getting (or setting???) anything from that file 
> control :)

Last time I checked I could read the file name. You cannot set the file 
name though (for very good reasons).

Masi




More information about the TYPO3-dev mailing list