HighTechTalks DotNet Forums  

Multiple File Upload Problem

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Multiple File Upload Problem in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Sundar
 
Posts: n/a

Default Multiple File Upload Problem - 01-29-2004 , 05:06 AM






Hi

I am working on ASP.Net. My requirement is that I want
to Upload Multiple Files to the Server. I need to have
ONLY ONE FILE UPLOAD CONTROL in my page. I SHOULD NOT
SUBMIT THE PAGE FOR EACH AND EVERY DOCUMENT browsed.

I am having a File Upload HTML Control and an Add Button
on my page. The user will browse for the document to be
uploaded and then click on that Add button. I then add the
path of the file to a javascript variable through
javascript. After adding all the documents, the user will
click on Save Button. I then need to upload all the files
by accessing my javascript variable

I used webclient class. I am able to upload all the files
through a single post. But some extra information like
Headers (HTTP CONTENT) gets added to the file. How to
eliminate that

I tried to build as many File Upload Controls as my
javascript variable and setting the value of the file
control from my variable through javascript and submitting
the form. But I am not able to set the value of File
Upload control in javascript. How can i set the value
through javascript

If not, is there any other way to achieve a solution for
my problem

Thanks in advanc

Regard

Sunda



Reply With Quote
  #2  
Old   
Sudhakar sadasivuni[MVP]
 
Posts: n/a

Default RE: Multiple File Upload Problem - 02-02-2004 , 03:36 AM






Hi Sunda

This article helps you to do so

http://www.codetoad.com/asp.net_multiplefileupload.as

HT
Sudhakar Sadasivun
Microsoft .NET MVP | MCA
http://weblogs.asp.net/ssadasivun
www.mugh.ne

----- Sundar wrote: ----

Hi

I am working on ASP.Net. My requirement is that I want
to Upload Multiple Files to the Server. I need to have
ONLY ONE FILE UPLOAD CONTROL in my page. I SHOULD NOT
SUBMIT THE PAGE FOR EACH AND EVERY DOCUMENT browsed.

I am having a File Upload HTML Control and an Add Button
on my page. The user will browse for the document to be
uploaded and then click on that Add button. I then add the
path of the file to a javascript variable through
javascript. After adding all the documents, the user will
click on Save Button. I then need to upload all the files
by accessing my javascript variable

I used webclient class. I am able to upload all the files
through a single post. But some extra information like
Headers (HTTP CONTENT) gets added to the file. How to
eliminate that

I tried to build as many File Upload Controls as my
javascript variable and setting the value of the file
control from my variable through javascript and submitting
the form. But I am not able to set the value of File
Upload control in javascript. How can i set the value
through javascript

If not, is there any other way to achieve a solution for
my problem

Thanks in advanc

Regard

Sunda



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.