i need to read a txt file from clients and then send it to my server in a form input? What is the simplest way to achieve this? Also i don’t want to send it as a file, i want to send it as a string in an input box.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
The simplest way is to send it as an uploaded file. However, this does not require you to save the stream of bytes into a file on your server. You can process it directly in your serverside application.