How to retain file name and file extension using Download file widget

I am using Downloadfile widget to download a file. Its downloading the file but its not retaining the filename and extension I tried setting FileDocument/Name attribute with actual file name but its still downloading the file with variable passed to widget and no extension
0 answers