on 02-09-2007 11:03 AM
i have a file store in
pc1\d$\usr\sap\N01\DVEBMGS01\j2ee\cluster\server0\motor.xls
how do i trigger the download to this location....
i cannot done with IWDWebResource()
or either
http://pc1:50100/webdynpro/dispatcher/local/WD_ExcelExport/motor.xls
from the sample code given...it is only applicable to byte to use the IWDWebResource
b = xml_file.toString().getBytes("UTF-8"); IWDCachedWebResource xlfile = WDWebResource.getWebResource(b,WDWebResourceType.XLS); //IWDCachedWebResource x=WDWebResource.getWebResource();
xlfile.setResourceName(wdTableNode.getNodeInfo().getName()+" List");
linktoFile = xlfile.getURL();
if i have a file awaiting for download..what can i do..which path should i put the file
the default path is
pc1\d$\usr\sap\N01\DVEBMGS01\j2ee\cluster\server0
FileOutputStream output = new FileOutputStream(new File("tm.xls")); wb.write(output); output.flush();
output.close();
pls help
Message was edited by:
yzme yzme
Check this tutorial ... might be of your help
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d2201c20-0801-0010-49b3-94fca8f590d5">Uploading and Downloading Files</a>
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.