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!!!
2 1480
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!!!
jhardman 3,406
Recognized Expert Specialist
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Tim |
last post by:
I meet problem on uploading a file with a large file size.
Below is my code, how can I modify in order to be able to upload a
large file successfully ? Thank for your help.
upload.html:
<html>
<body><br><br><center>
<form action="upload.php" method=post enctype="multipart/form-data">
File upload: <input type=file name="userfile">
<input type=submit value="send"><br> </form>
|
by: Markus Ernst |
last post by:
Hi
For a CMS admin tool I would like to provide a possibility to upload large
files to a directory on the webserver. As HTTP uploads are limited in file
size and also not comfortable in handling, I thought of an FTP solution.
Displaying a link to ftp://mydomain.com/mydirectory is easy but limited to
browsers who can act as FTP clients, such as Internet Explorer.
When looking at PHP's FTP functions and googling for web-based FTP
|
by: Chamomile |
last post by:
can anyone point me to some straightforward information on
file uploading without using an html form? That is, direcly from
within a php script.
if I know the local path etc. to a particular requested file how can I send
it
directly to a location on a remote webserver following
a request from the remote server?
The motivation is that I have a large number of image files that are
|
by: Sky Sigal |
last post by:
I have created an IHttpHandler that waits for uploads as attachments for a
webmail interface, and saves it to a directory that is defined in
config.xml.
My question is the following:
assuming that this is suppossed to end up as a component for others to use,
and therefore I do NOT have access to their global.cs::Session_End()
how do I cleanup files that were uploaded -- but obviously left stranded
when the users aborted/gave up writting...
|
by: David |
last post by:
Hello.
I can't upload large file with HtmlInputFile control:(
Is there any file size limitation in HtmlInputFile control?
If yes how can I upload to server large size file?
Than you.
| |
by: WSE with SSL and large amount of data |
last post by:
Hi there,
What's the better strategy for uploading large files trough webservices?
I can use Dime/WS-Attachments but for files with over 5MB in size, maybe I
got some timeout/refuse problems in my server. Is it a good idea upload the
files in chucks? In this case, how can I control and validate the
transfering, and ensure the security? As a matter of fact, I have to use
standarts for EDI processes.
Thanks in advanced.
|
by: Lad |
last post by:
If a user will upload large files via FTP protocol, must the user
have an FTP client on his computer or is it possible to use a similar
way to "http form" comunication?
Or is there another way( besides FTP) how to upload large files to
server?
Thank you he help
Lad.
|
by: Silencet |
last post by:
Hey every one,
I've recently set up a site using http/php and have been studing php for a while, i've got a problem of trying to upload a video, i cam to this site, because alot of my C++ solutions have been solved here so im guesing the same with php as i've already search for my solution here, but found no answer. i'm doing it the same way you would upload an image, however after hours of searching the web, i've seen that you must change...
|
by: =?Utf-8?B?RGFu?= |
last post by:
MS won't seem to let me reply to my old post, so I created a new one.
The error occurs in all browsers. It's definitely a server issue, not client.
The server is not proxied in any way.
I tried uploading the files on the server and experienced the same issues as
I get on any other computer.
Thanks in advance for your help.
Dan
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |