16 Sep
2001
16 Sep
'01
4:52 p.m.
This is the present DTML... <input type="file" name="file" size="40" value="<dtml-var expr="REQUEST.get('file',')" html_quote>"
...and in the Python function... REQUEST.set('file', REQUEST.file) ...and I have also tried... REQUEST.set('file.filename', REQUEST.file.filename) ...neither of which works.
Any suggestions on how to preserve the file name would be most welcome.
Urm, I think you're screwed since I'm pretty sure browsers ignore any value set in a file tag :-( Maybe some JavaScript could hack it? cheers, Chris