I almost feel stupid asking this question since I feel I am missing an obvious step but after spending quite some time I still cant figure out whats wrong so pl help
in a form am simply trying to add buttons to let user download some files
at the moment have a blank form only with a submit button
only event is on submit with file downloader
path is ok
file name correct
when I run it
it prompts me with the correct name but when I save it it is downloading it as the contents of the filw within my site as an html page....the name stays the same say a.txt but when I open the downloaded version it starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E......
within the division of the form it displays the correct text from the file "test"
but I need it to download a.txt with content only "test"
not the whole html
please tell me what I am doing wrong
thanks
in a form am simply trying to add buttons to let user download some files
at the moment have a blank form only with a submit button
only event is on submit with file downloader
path is ok
file name correct
when I run it
it prompts me with the correct name but when I save it it is downloading it as the contents of the filw within my site as an html page....the name stays the same say a.txt but when I open the downloaded version it starts with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E......
within the division of the form it displays the correct text from the file "test"
but I need it to download a.txt with content only "test"
not the whole html
please tell me what I am doing wrong
thanks
Hi ihkas,
Please don't place any actions before the "File downloader" action, you may only place actions without output, like "Email" or "File upload"...etc, but other stuff may cause problems and will not be displayed anyway!
Regards,
Max
Please don't place any actions before the "File downloader" action, you may only place actions without output, like "Email" or "File upload"...etc, but other stuff may cause problems and will not be displayed anyway!
Regards,
Max
This topic is locked and no more replies can be posted.
