Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

153
Views
how to save textbox value to a predefined file using HTML / Javascript

I have my form.html (HTML/javascript) file on remote host (host-A) running apache httpd webserver.

All the end-users access the HTML file on their respective laptop system's browsers using this URL

http://host-A/form.html

They get a textbox where they can fill any data they like.

My requirement is that when they click submit button the data from the textbox should get stored on host-A in a given filename say "userdata.txt" at a given path say "/usr/dump/userdata.txt"

I have seen many examples where the file with the data is offered to be downloaded on the client machine accessing the URL and not of the host-A where the webserver is running. However, that is not my requirement.

JavaScript: Save HTML form and checkbox data to .txt file without server?

Please share a sample snippet solution where the textbox value can get stored on host-A server in a pre-defined file path "/usr/dump/userdata.txt" if that is anyways possible?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!