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

  • Home
  • SEARCH
  • 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 9296089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:45:30+00:00 2026-06-18T21:45:30+00:00

Background: I have to support multiple file uploads in IE7-9. I’ve found uploadify and

  • 0

Background: I have to support multiple file uploads in IE7-9. I’ve found uploadify and FileReader which are both flash based.
Our current file upload allows the user to select a file, type in a description and check some check boxes. That data is all sent to the upload servlet at the same time and the servlet gets the file data and the description and the checkbox values and stores the file on the server and adds an entry into the database.

The problem: uploadify and FileReader both want to send the file directly to the server, I don’t have a chance to add a description or set any flags. I’ve worked with FileReader some now and can intercept the file instead of sending it to the server. What I would like to do is get the binary data and put it into the form, let the user add the description and then submit the form with the binary file data.
I’ve all ready tried just adding a hidden field to the form but the data didn’t seem to come through.

If worse comes to worse I think I could just upload the file and then update the database when the form is submitted, I don’t want to do that but I think that would work.
Does anyone know of anyway to add the file data to the form and then to get the servlet to recognize that data as part of the form?

  • 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-18T21:45:32+00:00Added an answer on June 18, 2026 at 9:45 pm

    You can pass data along side your upload in Uploadify, just use the formData attribute like this (found here):

    <input name='someKey' type='text' value='Some Value'/>
    <input type="file" name="file_upload" id="file_upload" />
    <script>
    $('#file_upload').uploadify({
        // Some options
        'method'   : 'post',
        'formData' : { 'someKey' : $('input[name=someKey]').val() }
    });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've added a form to my webpage which allows for multiple file uploads. I
Background: I have an MVC based polaroid object. The model keeps the photo's metadata,
Background I have two lists, the first is items which contains around 250 tuples,
Background : I have a few different threads which each need to write to
Background I have an existing extension designed to accompany a browser-based game (The extension
Background I have a TreeView that follows the MVVM design pattern and supports multiple
Background: I have a table with 5 million address entries which I'd like to
I have some problem with multiple screen support, I work with dp(dpi) for specify
Background Currently I have a C# Silverlight business application which uses RIA Services. The
I have read all the pages I could find about support multiple screens in

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.