** Getting Resume Upload to WORK
Posted: Tue Jun 17, 2008 5:32 am
Hi,
I am currently evaluating the resume functionality of the JFileUpload. But unfortunately I am not able to get it to work. The following are the details of my current settings. Please help me out to get the resume upload up and working.
* We have a Software Distribution website on IIS for which we are looking for a resume functionality.
* The Server side script which I use in "process.aspx" mentioned in your add-on portal "http://www.jfileupload.com/products/tools/index.html"
* For a continous upload, while debugging in VS 2005, once the progress bar reaches 100%, I am able to get the debugger hit the page_load of the process.aspx.cs page. Then I can visually see the file being saved to the mentioned folder.
* Now for testing the resume functioanlity, I added the following to the "applet_http.js"
document.writeln('<PARAM NAME="resume" VALUE="true">');
* Now the difference is that, when the file is selected to upload, the debugger hits the Page_Load of the Process.aspx and "filename" is passed in the Request header to check if a partially uploaded file exists in the file upload respository. Kudos! till now everything works great and as expected.
* Now the confusion starts once I click on the cancel button.
* 30MB of the file (total file size ~ 90MB) is uploaded and on clicking cancel, the debugger again hits the page_load of the process.aspx page. What I was expecting is that the partially uploaded file of 30MB should be saved onto the file upload respository. But it was not happening.
* So the next time if the file upload needs to be resumed, in the Request header using the "filename" parameter we need to check the part file for which the partially uploaded file of 30MB needs should have been to the upload_dir the previous time when the upload was interrupted right?
* So I need to know as to how I can save the partially uploaded/cancelled file onto the upload_dir from the process.aspx
** I hope that I am clear, Please help me out of this issue and correct me if I am wrong on my understanding of how JFileUpload works to resume an upload using process.aspx.
* I feel that the quality of the documentation can be improved. Hopefully the issue is resolved as resume upload feature from JFileUpload would certainly revolutionize the uploads happening through our portal. Great product!!
Thanks
I am currently evaluating the resume functionality of the JFileUpload. But unfortunately I am not able to get it to work. The following are the details of my current settings. Please help me out to get the resume upload up and working.
* We have a Software Distribution website on IIS for which we are looking for a resume functionality.
* The Server side script which I use in "process.aspx" mentioned in your add-on portal "http://www.jfileupload.com/products/tools/index.html"
* For a continous upload, while debugging in VS 2005, once the progress bar reaches 100%, I am able to get the debugger hit the page_load of the process.aspx.cs page. Then I can visually see the file being saved to the mentioned folder.
* Now for testing the resume functioanlity, I added the following to the "applet_http.js"
document.writeln('<PARAM NAME="resume" VALUE="true">');
* Now the difference is that, when the file is selected to upload, the debugger hits the Page_Load of the Process.aspx and "filename" is passed in the Request header to check if a partially uploaded file exists in the file upload respository. Kudos! till now everything works great and as expected.
* Now the confusion starts once I click on the cancel button.
* 30MB of the file (total file size ~ 90MB) is uploaded and on clicking cancel, the debugger again hits the page_load of the process.aspx page. What I was expecting is that the partially uploaded file of 30MB should be saved onto the file upload respository. But it was not happening.
* So the next time if the file upload needs to be resumed, in the Request header using the "filename" parameter we need to check the part file for which the partially uploaded file of 30MB needs should have been to the upload_dir the previous time when the upload was interrupted right?
* So I need to know as to how I can save the partially uploaded/cancelled file onto the upload_dir from the process.aspx
** I hope that I am clear, Please help me out of this issue and correct me if I am wrong on my understanding of how JFileUpload works to resume an upload using process.aspx.
* I feel that the quality of the documentation can be improved. Hopefully the issue is resolved as resume upload feature from JFileUpload would certainly revolutionize the uploads happening through our portal. Great product!!
Thanks