Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileUp and MSIE 6.x comptability

Status
Not open for further replies.

Biffy13

Programmer
Oct 22, 2002
63
GB
Hi

I currently use SoftArtisans ( FileUp (version 3.41) software for my website which allows users to upload documents to my site. This was all working fine until I tried uploading something myself and ended up getting an error.

I have recently upgraded my Internet Explorer to version 6.0 and part of my code looks for


Code:
If upl.ContentDisposition <> &quot;form-data&quot; Then
	' Error - Incompatibility with browser
'I then display a browser incompatibility message


As this was working fine with IE 5.5, and someone else in my office using IE 6.0 also had the same error, then I am lead to believe that it is due to my browser.

The code that I use for the form to capture the upload is:

Code:
<form action=&quot;DocumentSubmit.asp?action=File&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; id=&quot;frmMain&quot; name=&quot;frmMain&quot;>

As you can see I set: enctype=&quot;multipart/form-data&quot;

Should I set this to something different for IE 6.x?

My only other solution would be to upgrade the FileUp software (but that costs which is why I am posting here first!)

Does anyone have any suggestions or have come across this before? Any help would be gratefully received ;)
 
this:
<form action=&quot;DocumentSubmit.asp?action=File&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; id=&quot;frmMain&quot; name=&quot;frmMain&quot;>
is not browser specific it will and must work in IE (it works for me).

but i do see a problem in ur code. ur form method is post but in ur action u r passing a query string (action). that may be the problem...

Known is handfull, Unknown is worldfull
 
Thanks vbkris.

I don't think the querystring is a problem - this shouldn't have any effect on the form and besides, it was working before (I haven't changed any code).

I realise that the enctype is not browser specific - I was just wondering if I am not setting it to the correct thing as it appears that it is the &quot;form-data&quot; bit that is causing the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top