irigsoft Posted October 2, 2020 Share Posted October 2, 2020 Hello, How can we save a file (Text file) to a local device (computer or mobile device) with uniGui. 1. I want my application to create an execution instruction file and save it temporarily on the client device 2. after some time (or action) to send the file to the server. If possible without using Coockies Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 3, 2020 Share Posted October 3, 2020 18 hours ago, irigsoft said: Hello, How can we save a file (Text file) to a local device (computer or mobile device) with uniGui. 1. I want my application to create an execution instruction file and save it temporarily on the client device 2. after some time (or action) to send the file to the server. If possible without using Coockies Hi, You can't save anything to the client-side without user permission because of security reasons. You can use SendFile. Please check SendFile demo in C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\SendFile Quote Link to comment Share on other sites More sharing options...
irigsoft Posted October 3, 2020 Author Share Posted October 3, 2020 Thanks Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted October 3, 2020 Share Posted October 3, 2020 On 10/2/2020 at 2:51 PM, irigsoft said: ...Save it temporarily on the client device Hello, You can alternatively save local data (10 Mo) with local storage technic. http://forums.unigui.com/index.php?/topic/12306-how-can-i-access-local-storage/&do=findComment&comment=65734 Quote Link to comment Share on other sites More sharing options...
irigsoft Posted October 4, 2020 Author Share Posted October 4, 2020 Thanks for sharing. I think that will help me. Quote Link to comment Share on other sites More sharing options...
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.