hendrang Posted September 1, 2012 Share Posted September 1, 2012 Hi All, My application need to convert data to Excel file and save the Excel file to client computer (harddisk/flash disk). Can web Application save the Excel to Client Computer ? with code : WorkBook.SaveAs('c:\Report.xls'); the report.xls will be saved in web server harddisk not in the client harddisk. Thanks in advance Link to comment Share on other sites More sharing options...
gerhard.kimmeringer Posted September 1, 2012 Share Posted September 1, 2012 Hi, no problem, use UniSession.SendFile Method for this. We do the same, we create a Excel file with flexcelreport from TMS and the Unisession.sendfile method. Hi All, My application need to convert data to Excel file and save the Excel file to client computer (harddisk/flash disk). Can web Application save the Excel to Client Computer ? with code : WorkBook.SaveAs('c:\Report.xls'); the report.xls will be saved in web server harddisk not in the client harddisk. Thanks in advance Link to comment Share on other sites More sharing options...
hendrang Posted September 1, 2012 Author Share Posted September 1, 2012 Hi, no problem, use UniSession.SendFile Method for this. We do the same, we create a Excel file with flexcelreport from TMS and the Unisession.sendfile method. Hi Gerhard Kimmeringer, Thank you for your help. I am new in web application, can you kindly help what the code in my case use UniSession.SendFile Method, I am using NativeExcel. Suppose the client user want to save the excel to directory C:\Reports In desktop application the code is : WorkBook.SaveAs('c:\Reports\Report.xls'); Regards, Hendra Link to comment Share on other sites More sharing options...
gerhard.kimmeringer Posted September 1, 2012 Share Posted September 1, 2012 You save local and like upload the file to web? Then you must use UniFileUpload, for Download use unisession.sendfile. Hi Gerhard Kimmeringer, Thank you for your help. I am new in web application, can you help what the code in my case, I am using NativeExcel. Suppose the client user want to save the excel to directory C:\Reports In desktop application the code is : WorkBook.SaveAs('c:\Reports\Report.xls'); Regards, Hendra Link to comment Share on other sites More sharing options...
hendrang Posted September 1, 2012 Author Share Posted September 1, 2012 You save local and like upload the file to web? Then you must use UniFileUpload, for Download use unisession.sendfile. Ok, I will try it in my client computer tomorrow unisession.sendfile act like download file so client user may should open the file first and then save it to the target directory. Thanks. Link to comment Share on other sites More sharing options...
IRWANTO82 Posted September 1, 2012 Share Posted September 1, 2012 please see demo sample for first Link to comment Share on other sites More sharing options...
hendrang Posted September 1, 2012 Author Share Posted September 1, 2012 please see demo sample for first Hi Irwan, thanks for reminding me. I already saw demo samples before but I forget there are these download demo samples. Regards, Hendra Link to comment Share on other sites More sharing options...
hendrang Posted September 2, 2012 Author Share Posted September 2, 2012 You save local and like upload the file to web? Then you must use UniFileUpload, for Download use unisession.sendfile. Hi, Yes, it works use unisession.sendstream no need save the file excel to server then download to client. Link to comment Share on other sites More sharing options...
dindinudin Posted November 6, 2013 Share Posted November 6, 2013 when i save the picture with chrome browser in android device, it save on local device storage. but when it wrap by phonegap (eg. apk file) it save on server cache folder. How to save file in local storage android device when it wrap by phonegap? regards i found this, may be related. but i don't know how to implement : http://docs.phonegap.com/en/2.1.0/cordova_storage_storage.md.html#localStorage Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now