PDA

View Full Version : Download word file from server using Ext-js 4



rakesh.mmp
14 May 2015, 4:42 AM
Hi,

Is there a way to download word files or PDF files present in the server
using Ext-js 4 when a request is sent to the server.
The file would be present at a predefined path in the server and it has to be downloaded from that location by sending a request.
Please suggest some solution to achieve this.

Thanks & Regards
Rakesh

Gary Schlosberg
14 May 2015, 3:23 PM
Can't you just link to the file?

rakesh.mmp
14 May 2015, 11:19 PM
Hi,

Can you please post an example regarding linking a file.
so that i can try it out in my application.

Thanks & Regards
Rakesh

f.baron
15 May 2015, 12:23 AM
window.open(url, "_blank");