File Uploading issue

  • Thread starter Thread starter Giuseppe Esposito
  • Start date Start date
G

Giuseppe Esposito

Well, I'm trying to create my own file uploader, just to start with something
that can be usefull for me in the later days.
I did it. Certainly it was so simple as I thought, actually I've some little
bugs that I'm going to correct.

But the thing that I'm not able to do is understand why, despite I got all
the stream from the multipart-data form, chuncked
in small pieces, rebuilt all files, many times (suppose 3 on 5) Internet
Explor progress bar continue to run. Run What?

I read all. So I suppose tehre is a way to inform IE or the IIS (I don't
know who must to inform) that I finished all the work.

I tried to look up something over web, but nothing useful. Any idea on where
to start to collect information as well as same
sample code to analyze?

thank you to anyone
Giuseppe
 
I guess you will need to return a result page back to the browser after
you have completed the download... Have you done that??
 
Hi,

But the thing that I'm not able to do is understand why, despite I got all
the stream from the multipart-data form, chuncked
in small pieces, rebuilt all files, many times (suppose 3 on 5) Internet
Explor progress bar continue to run. Run What?

It's waiting for the page to finish lo load back.

Does it takes long to do the uploading process?
You may get a timeout if so.
 
Coulkd you try to explain it? I don't sure to understand what you mean.

Thanks
Giusepp
 
The upload is finished immediately ... but the progress bar run run run ...

Thanks.
Giuseppe
 
Well... What happens in your code after you upload the file? You must
send a "result page" to the browser ... I'm not sure how to explain it
further ... Maybe you can post your code if it's not too long ...
 
No nothing result. Not at the moment. Just want to upload, and wait that
page automatically postback because execution is finished.

Bye
Giuseppe
 
Hi,

Giuseppe Esposito said:
The upload is finished immediately ... but the progress bar run run run
...

Are you sure?

Create a hook for page Unload and put a breakpoint there.

If it goes, then post some of the relevant code
 
Well the page upload is done by an httpModule I've written ...
Is PageUnload method called also in this case?

Thanks
Giuseppe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top