I remembered a workaround for this without upgrading witango, or IIS or anything. One of the nice things about windows 2003 and IIS 6, is you have ASP .NET serving built in for free, and it does not suffer from this problem. We have done this in the past to get around a bug in witango, or lack of a feature we have needed.

You keep your form in witango, but you don't post to another taf. You post it to a ASP .NET page. This page receives the post from the mac, or whatever, bug free, and in your ASP .NET code, you can then "hand off" the results of the form post to a receiving witango page with a redirect, and a get argument. The get argument would be some unique id. The ASP .NET page will take the file, and save it in a temporary place, and save it with the id as the file name, or something like that. When it redirects to the taf, the taf gets the get arg, and finds the file and does what it needs.

It gets trickier if the form has more than just the file, but also other fields. In that case, we also have asp store an xml file with the data, and when handed off to the tango taf, it reads in the values. I don't remember if tango2000 had ANY xml abilities, but you could store any type of text file, like a name value pair that could be tokenized or something.

Anyway, just a thought.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Jan 5, 2006, at 4:57 PM, Customer Support wrote:

This is a known issue with T2K. T2K processes multi part boundaries with a hard coded string size for the boundary marker. Opera and Safari used a longer boundary marker than T2K could handle so it gets truncated which causes the matching of the boundaries to fail so the server cannot find the uploaded file part of the request. This issue was fixed in an early release of Witango 5. If you look at the raw http request you will see the difference in the boundaries between Safari and IE.

IIS 5 also had issues with the multi part boundaries sent from Safari which were fixed in W2K SP4.


Witango Support

No, I am using Windows 2004 Server (Windows NT 5.2) and IIS 6 with
Tango 2000.  Seems like some of the documentation in the original
taf said something about it not working with Macs, but that
wasn't an issue for me then.  It sure is now, tho.  I just
assumed the problem was with how Mac files are.

Hope that helps.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Jan 5, 2006, at 2:03 PM, Noel Estabrook wrote:


I've got a fairly straightforward upload taf that
I got from the component zone on the web a while
back, but am experiencing an influx of Mac users.
The upload taf I'm
using won't work with a Mac.
Does anyone know of a simple upload taf that will
allow for the uploading of images on either a PC
or a Mac?
______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to