Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8180917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:21:17+00:00 2026-06-07T00:21:17+00:00

I am struggling for days to solve this problem and it seems i cant

  • 0

I am struggling for days to solve this problem and it seems i cant find any good helpful guidance. So the problem is i want to implement a feature in my web application to give the users the option of editing a text on any editor they have locally and then save the file (the saved file will be online).

Suggested Solution: well my idea is:

1)to create a folder for the user locally on the browser file location.

2)open the applications using exec() (before doing so checking what kind of operating system the user use and create the appropriate error handling)

3)save the file will should be in the created file(point 1).

4)Retrieve the data from the folder.

Please advice me if u have a better idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:21:20+00:00Added an answer on June 7, 2026 at 12:21 am

    In short, you can’t do all that. You can do some of that. Remember, with HTTP the user is in complete control, and you can do nothing “on the user’s machine”. If you could, that would be called “a dangerous security exploit” and would stop working as soon as the various browsers’ coders got to it.

    You can send the output to the user with an appropriate MIME type, that will open the editor of your choice. You can even invent your own MIME type to do that (the user must install the editor by himself).

    Then the user will save the text on his machine. You can’t save on a remote machine (not in all editors), since it is not a “save”, it is an “upload” that you want.

    Finally the user can recover the file he or she just saved, and submit it to you via a POST form, for example.

    Frankly, where I live we call this “how to put one’s ass before other people’s kicks”. Just think of all the possible editors, each maybe with its own format: if the user (un)knowingly chooses something weird such as “Save in Word 2015 Extra Format (Compressed)”, and uploads the file to your server — are you prepared to understand the file format and do something meaningful with it?

    A very common alternative is to implement any one of several Rich Text Editors in HTML – there’s CKEdit, for example, or TinyMCE, and so on. They will let the user produce clean HTML and upload it on your server automatically.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am struggling with a gpg problem for a few days and cant figure
I have been struggling with this problem for a few days now and I
I've been struggling for a few days with this problem , learning a lot
I'm struggling with this for several days now. I want to create a functions
I have been struggling for days trying to find the proper way to implement
Hi – I've been struggling with this for days. It seems simple but I
i'm struggling with a problem for days and couldn't find an answer. I've a
I have been struggling for a few days trying to find out how come
I've been struggling with this for days and I can't figure out why it
So I've been struggling with this for a couple days now. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.