[jQuery] File upload using HTTP PUT method

[jQuery] File upload using HTTP PUT method

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi all,
    Does anyone know if it's possible to transform an <input
type="file" id="uploadedFile"</font><font
face="Helvetica, Arial, sans-serif">... into an HTTP PUT request? 
Seems like you can do this in Firefox with something like this:
fileContent = $('#uploadedFile').files.item(0).getAsBinary();</font><font
face="Helvetica, Arial, sans-serif">
req = new XMLHttpRequest();
req.open("PUT", url, true);
req.sendAsBinary(</font><font face="Helvetica, Arial, sans-serif">fileContent</font><font
face="Helvetica, Arial, sans-serif">);
but there are two problems: 1) it reads the whole file into memory,
which doesn't work well if the file is big; and 2) this appears to be
Firefox-only.
    Anyone know of any code which does a file upload using PUT for most
recent browsers?  Thanks,
       Russ
</font>
</body>
</html>