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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:03:30+00:00 2026-06-11T00:03:30+00:00

Using a form inside a HTML such that the input is: <input id=afile type=file

  • 0

Using a form inside a HTML such that the input is:

<input id="afile" type="file" accept="*.csv" name="afile">

And sent via javascript like:

  $(function() {
    $('#afile').change(onChange);
  });

  function onChange() {
    var file = this.files[0];
    var fd = new FormData();
    fd.append("afile", file);

    var xhr = new XMLHttpRequest();
    xhr.open('POST', 'upload/handle_upload.php5', true);
    xhr.send(fd);
  } 

I watch the request data in the Net panel of Firebug and Live HTTP headers but all data appears in plaintext (I am assuming that they are showing pre-encrpytion).

Is the file encrypted before transfer? If so, when does the file become encrypted?

  • 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-11T00:03:31+00:00Added an answer on June 11, 2026 at 12:03 am

    If this is a HTTPS connection, it will be encrypted before leaving the browser. The Net Panel inside of the browser will probably show it decrypted for your convenience. If you used a network sniffer, you should be able to verify that the connection is secure.

    Is the file encrypted before transfer?

    The file per se is not encrypted, but the complete HTTP request is (and the file is in there).

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

Sidebar

Related Questions

I have two buttons inside a form call: <% using (Html.BeginForm()) {%> <input type=submit
We are using Zend_Form inside a PHP application for building an input file html
I'm creating a registration form using validation inside the User model such as validates_confirmation_of
I'm building a WinForms application Window (form), inside that I'm using a FlowLayoutPanel, with
I have a simple image inside an HTML form that acts as a button.
I am using getJSON to populate form elements inside function(data) {...} by concatenating html.
I am trying to draw a circle using Windows Form at runtime inside a
I have form in my page, I am using ajax.beginform(). Inside this form I
Using IE 7, JDK 1.6 and Sun Web server 7. Inside the jsp form,
Code to create new form instance of a closed form using form name I

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.