Jump to content

Save local file on client side with Javascript


irigsoft

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...