Jump to content

How Save File To Client Storage


hendrang

Recommended Posts

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

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

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

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

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

  • 1 year later...

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...