469,964 Members | 1,483 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Problem uploading large numbers of files

4
Hi,

I have a serious problem. I'm currently developing an application in which the user should upload many files (600-700 xml files). I've searched the web for a while and so far I realized that there's no way to use the HtmlInputFile class to achive the desired effect just because I can't set programatically the property of the class that stores the path of the selected file.
My first approach was to write some javascript code which would generate
<input type="file"> tags but that seemed useless because firstly, in code-behind I can't access them and secondly, I can't set the path of the specified files. On the web I've found some articles which explain how to upload multiple files using the htmlinputfile class but in every case the number of htmlinputfile objects is static and the user should select manually the files he wants to upload. That's fine if you permit 3-5 files to be uploaded but when you want to handle a larger number of files, it is inconvenient.
In my case, the user should provide a folder on the drive and the application should handle the uploading of contents of that folder.

Any help is very, very appreciated!!!
Nov 18 '07 #1
2 1324
Zoliq
4
Hi,

I have a serious problem. I'm currently developing an application in which the user should upload many files (600-700 xml files). I've searched the web for a while and so far I realized that there's no way to use the HtmlInputFile class to achive the desired effect just because I can't set programatically the property of the class that stores the path of the selected file.
My first approach was to write some javascript code which would generate
<input type="file"> tags but that seemed useless because firstly, in code-behind I can't access them and secondly, I can't set the path of the specified files. On the web I've found some articles which explain how to upload multiple files using the htmlinputfile class but in every case the number of htmlinputfile objects is static and the user should select manually the files he wants to upload. That's fine if you permit 3-5 files to be uploaded but when you want to handle a larger number of files, it is inconvenient.
In my case, the user should provide a folder on the drive and the application should handle the uploading of contents of that folder.

Any help is very, very appreciated!!!
Nov 18 '07 #2
jhardman
3,406 Expert 2GB
I don't think any scripting languages will work for that, they are all pretty limited that way. The example I wrote doesn't need a specified number (check out the ASP articles section) but I don't think it will be able to handle 600 files. I would suggest using a java applet, but then most computers severely restrict what java applets can do, but if a limited number of users are going to do this, I think it would be a viable option.

Jared
Nov 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Tim | last post: by
9 posts views Thread by Markus Ernst | last post: by
6 posts views Thread by Chamomile | last post: by
1 post views Thread by David | last post: by
2 posts views Thread by WSE with SSL and large amount of data | last post: by
7 posts views Thread by Lad | last post: by
1 post views Thread by =?Utf-8?B?RGFu?= | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.