473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

passing multiple file names

I have an ASP.NET Web application where I want users to
specify browse/select multiple files in multiple folders
on their local workstations. Upon submitting the form, I
want to have server-side code to manipulate the files.
This is something like writing an email with attachments
via a web form.

What is the best way to accomplish this? Are there some
examples of how to browse/select files and pass them to
the server-side code?

bob

Nov 20 '05 #1
2 896

"Robertmooney" <an*******@discussions.microsoft.com> wrote in message
news:11*****************************@phx.gbl...
I have an ASP.NET Web application where I want users to
specify browse/select multiple files in multiple folders
on their local workstations. Upon submitting the form, I
want to have server-side code to manipulate the files.
This is something like writing an email with attachments
via a web form.

What is the best way to accomplish this? Are there some
examples of how to browse/select files and pass them to
the server-side code?

bob


Pass an array, like the OpenFileDialog uses. Just vamp through the array
and process each file and you're done.

HTH,
Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #2
Cor
Hi Robert,

If you use a webbrowser you will never get control over the files on the
client side when you do not insert a piece of non webbrowser code in it,
which the user would have to load first.

When you want to do this kind of things and it is in your own
administratable environment, make a window forms application from it, that
will give you a lot less trouble.

Did you see how many money Microsoft spent to let servers not reach the
clients.

Just my thought,

Cor
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike M | last post by:
Is it possible? In the parent process, I have a socket that binds, listens and then accepts new connections (which creates new sockets in the process). I want to be able to pass some of these new...
1
by: Robert Mooney | last post by:
I have an ASP.NET Web application where I want users to specify browse/select multiple files in multiple folders on their local workstations. Upon submitting the form, I want to have server-side...
3
by: Little | last post by:
Could someone tell me what I am doing wrong here about declaring mutiple double linked lists. This is what the information is for the project and the code wil be below that. Thank your soo much for...
15
by: leorulez | last post by:
Is there any way to read multiple files (more than 1000 files) and then write into one single output file using C? Right now in my program, I have a loop which asks for the filename and writes into...
0
by: kencana | last post by:
hi All, I got problem in passing data (more than one) from soap client to the soap server. but if i only passing one data at a time, it works successfully.. The following is the error message i...
1
by: Jordan M. | last post by:
Hi, Hoping to get some help modifying the following query that I have... TABLE: NAMES ID, FirstName, LastName TABLE: EMAILS ID,LinkID,Email,LastUpdateDate
0
by: dave32079 | last post by:
I am moving data from Oracle to MS SQL 2000. I have been given the Oracle table structures and about 130 CVS files to populate these structures, 1 file per table. I have converted the table...
1
by: Paul W | last post by:
Hi Everyone, I want my app to duplicate the standard behavior found with MDI apps where you can select one or more files from Internet Explorer, right click and select 'Open With' and then have...
4
by: MoroccoIT | last post by:
Greetings - I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.