D
del
Is there a way to cancel a file upload after receiving
the header of the file?
Basically, I want to allow the user to upload files (with
a certain size limit) to the server. Any files larger
than the preset size should be ignored. Once the user
submits the form I parse the http request and determine
the content length. However, the upload has already
started! and if I try to close the connection or
redirect the response to a different page I receive
a "The page can not be displayed" error.
Any suggestions?
Thank you
del
the header of the file?
Basically, I want to allow the user to upload files (with
a certain size limit) to the server. Any files larger
than the preset size should be ignored. Once the user
submits the form I parse the http request and determine
the content length. However, the upload has already
started! and if I try to close the connection or
redirect the response to a different page I receive
a "The page can not be displayed" error.
Any suggestions?
Thank you
del