 |
|
|
 |
|
 |
Awesome, help Full. Thanks.
|
|
|
|
 |
|
 |
It's a great control but I am facing a issue with it
I have uploaded a long file of 40 MB and the file is not yet uploaded but the progress
bar moves to 100%.I think the reason is that progress bar do not move depending upon
the size of file as it moves after 200 milliseconds.
Any solution for this
|
|
|
|
 |
|
 |
Great Job!!! Would it possible for you to add a "copy" (copy url to clipboard) button before the "x"(delete) which would allow one to send as a link with the full url to the file? example: http://localhost/Uploads/test.zip Thanks
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
The zip file served when you download the source is incomplete or broken.
I downloaded and unzipped it.
It contained a visual studio solution.
When I open the solution I get the error "One or more projects in the solution could not be loaded....The project file or web has been moved, renamed or is not on your computer."
Also there is no information on what to do with the darn thing -
? How does this download produces a widget control?
? How do I include and use the widget control in my .net web form page ?
|
|
|
|
 |
|
 |
I had a similar issue - here is how I fixed it. When you unzip the package, it contains a folder called "SmartFileUpload" which then contains the solution file and all the app files. However, the solution file references the parent folder named "FileUpload" instead of "SmartFileUpload". If you change the parent folder to be named "FileUpload", it will work. After I did this, my VS 2010 was able to convert the solution and everything worked tickety-boo.
|
|
|
|
 |
|
 |
Why can't i download the source ?
[Edit] Resolved, a / is missing in the url.
modified 25 Apr '12.
|
|
|
|
 |
|
 |
Excellent...nice performance and nice user interface
|
|
|
|
 |
|
 |
vvvvvvvvvvvvvvvvvvvvb.net version???????????
i want vb version it is important
|
|
|
|
 |
|
 |
You can use following link to convert C#.Net to VB.Net
Convert C# to VB.NET [^]
Thanks,
Imdadhusen
sunaSaRa Imdadhusen
+91 99095 44184
|
|
|
|
 |
|
 |
Hi,
I've studied your code and realized that the page will upload a file to the server once inside the child page(UploadEngine.aspx) using form.submit() which is the "uploading" part, and then after uploading instead writing the file to disk, it write it in a file-stream with buffer-size=1 and display the file-stream progress not the real upload progress.
However I must admit that your code is well organized and I enjoyed reading it, and I think that the only way for a real time file upload progress is using flash.
Hope this helps..
Thank you
|
|
|
|
 |
|
 |
It does seem to make the file-upload time longer for me too. For example, I ran the code in VS 2010 and Firefox 12 (and also IE 8), which would upload a local file to the "upload" folder in the solution - which is also local. This made a 15mb file take nearly 40 seconds. However, I have tried the one MS provides (http://msdn.microsoft.com/en-us/library/aa479405.aspx - without the nice progress bar) and can do a local upload of 500mb in the same amount of time.
modified 29 Apr '12.
|
|
|
|
 |
|
 |
Hi,
I used the file upload control provided by you. But there is a problem when i tried to upload a large file on server. It show the progress bar 100% with Initializing upload. File uploading was in progress behind the screen. It takes few minutes to upload after 100% progress bar.
Progress bar is working very fast Initializing uploading, not work according to the internet speed and file size.
Thanks for your post. The code is excelent
My Email id is PhucHelloAll@yahoo.com
Thanks in advance
Tom Nguyen
|
|
|
|
 |
|
 |
Hi Tom, If you see the discussion trail below, there is a solution. you can update your web.config file to allow as much as request length. <_system.web> <_httpRuntime maxRequestLength="###"> <_system.web> remove "_" in above snippet and replace "###" with desired value e.g. 5120 will allow max 5 MB.
|
|
|
|
 |
|
 |
Very eccellent. Good Layout, well explained and it's works!
|
|
|
|
 |
|
 |
Hi,
I am using your code logic to upload files. The problem is that, on client side the progress bar and ui message does not get updated, until the postback on uploadengine.aspx is complete. The only things i am doing differently over here is that
1) Put the script in separate Default.js file
2) Use WCF service instead of PageMethods
3) Using MasterPage
Any help will be greatly appreciated. Thanks
|
|
|
|
 |
|
 |
This would be great if it could do multi-file upload at on click of the submit buttton.
|
|
|
|
 |
|
 |
I was hosted these into my IIS7 having window 7 and try again
It won't work.
please do needful.
|
|
|
|
 |
|
 |
Is there any error? please let me know.
sunaSaRa Imdadhusen
+91 99095 44184
|
|
|
|
 |
|
 |
I'm using the upload script with IIS 6 under Windows Server 2003. It's working and it's a great tool! Sunasara, thanks a lot for your work! In order to save the files on a different path than the default Upload-folder, I changed the path where the uploads are saved by replacing the line in UploadEngine.aspx.cs: // string path = this.Server.MapPath(@"Uploads"); with: string path = "E:\\updownload"; This is working, but is that the correct way to do this? Now I've got some questions: 1. Although the file upload is working like a charm, I do not get entries in the "list of uploaded files". Can that be due to my change in UploadEngine.aspx.cs? 2. is there a way to increase the width of the field with the path of the upload file (at the top left directly under "File upload control")? 3. Which ASP.net version do you recommend? I can choose between 1.1.4322, 2.0.50727 and 4.0.30319. Thanks for your help! Martin
-- modified 28 Feb '12.
|
|
|
|
 |
|
 |
Hi,
I used the file upload control provided by you. But there is a problem when i tried to upload a large file on server. It show the progress bar 100% with Initializing upload. File uploading was in progress behind the screen. It takes few minutes to upload after 100% progress bar.
Progress bar is working very fast Initializing uploading, not work according to the internet speed and file size.
My Email id is shahnaitik@gmail.com
Thanks
Naitik Shah
modified 30 Dec '11.
|
|
|
|
 |
|
 |
sir , i like your code very much thanks for your efforts..
in Default.aspx.cs
i want to acces the name of a file which is uploaded . in button2_click how to acces can you help please
protected void Button2_Click(object sender, EventArgs e)
{
OleDbConnection oconn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath(@"Uploads") + ";Extended Properties=Excel 8.0");
}
|
|
|
|
 |
|
 |
Use following code to get file name.
protected void Button2_Click(object sender, EventArgs e)
{
UploadDetail info = (UploadDetail)HttpContext.Current.Session["UploadDetail"];
OleDbConnection oconn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath(info.FileName) + ";Extended Properties=Excel 8.0");
}
Thanks,
Imdadhusen
sunaSaRa Imdadhusen
+91 99095 44184
|
|
|
|
 |