hendrang Posted September 1, 2012 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 Quote
gerhard.kimmeringer Posted September 1, 2012 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 Quote
hendrang Posted September 1, 2012 Author 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 Quote
gerhard.kimmeringer Posted September 1, 2012 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 Quote
hendrang Posted September 1, 2012 Author 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. Quote
hendrang Posted September 1, 2012 Author 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 Quote
hendrang Posted September 2, 2012 Author 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. Quote
dindinudin Posted November 6, 2013 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.