1

I am using SWFUpload for uploading files from client to server. When I select a file to upload, before it uploads I want to read that file, write some additional data to it, then it should be appear for upload on server.

Is it possible? If it is then please provide me solution.

Thanks in advance.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Balasaheb
  • 625
  • 2
  • 12
  • 33
  • 1
    You can always use a server side script like PHP to add additional data to the uploaded file before saving it on disk on in a database. – Aadit M Shah Jun 25 '12 at 08:04
  • What type of data are you looking to add.. your server side could easily add this data depending on what it is, before you process the image.. – Rabbott Jun 30 '12 at 21:14
  • @Rabbott I am uploading a file that contain company information, hence before it upload on server I want to add company address at company address column, hence I need to read that file and then write into that file. How can I do it? – Balasaheb Jul 03 '12 at 12:18

1 Answers1

0

This question is similar to one on changing file names. Use a combination of FileReference, event handler, deserialization, and transformation.

Community
  • 1
  • 1
Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265