Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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.

  • 1 year later...
Posted

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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...