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 7732515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:44:59+00:00 2026-06-01T06:44:59+00:00

I want to do two things in my browser: Load a text file into

  • 0

I want to do two things in my browser:

  • Load a text file into a textarea (has to be choosen via dialog box)
  • Save the content of a textarea into a text file (has to be choosen via dialog box again)
  • Load a video file and grab the file path to use it with a video player (1)

I’ve been looking around for a while on the internet. There are some solutions for IE only via ActiveXObjects, which I can’t use (IE, seriously?). HTML5 file API has limited usability because I can’t access the selected file’s path.

I also found save dialogs for textareas, but they ignored line breaks for some strange reason and I don’t know how to fix that, if possible at all.

So here are my requirements and options:

  • Support for FF and Chrome
  • JavaScript, HTML5 (and PHP, if it has to be)
  • possibly Silverlight, but I’m not very familiar with it and may only copy and paste :-/
  • it has to work on Mac as well
  • 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-01T06:45:00+00:00Added an answer on June 1, 2026 at 6:45 am

    The File API is HTML that would allow you to access data, after which you can manipulate binary blobs in JavaScript, but as written this is not possible in pure JS and HTML based on your requirements.

    The big blocker is “saving to a text file.” The only way I’ve been able to do this is by opening up an iFrame that calls a server side language (such as PHP) to set the content type in the header to a type that prompts a download.

    Flash and Silverlight are “client” technologies that run outside of the sandbox, which sounds like your only option at this point.

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

Sidebar

Related Questions

When moving a file from old.package to new.package I want two things to happen:
I have two things i want to do to this input text field. <input
I want to do two things: In production code, I want to redefine the
I want these two print functions to do the same thing: unsigned int Arraye[]
I found strange generics behaviour. In two words - thing I realy want is
I want two special methods: one that runs for all URLs one that runs
Suppose we want two constructors for a class representing complex numbers: Complex (double re,
I'm currently building my personal website in ASP.Net MVC and I want two versions
I want to swap two integers, and I want to know which of these
I want to compare two ms-access .mdb files to check that the data they

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.