- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 29 Jun 2011 18:53:35 +0200
- To: Alfonso MartÃnez de Lizarrondo <amla70@gmail.com>
- Cc: "Jonas Sicking" <jonas@sicking.cc>, "Webapps WG" <public-webapps@w3.org>
On Wed, 29 Jun 2011 18:34:58 +0200, Alfonso MartÃnez de Lizarrondo <amla70@gmail.com> wrote: > My first simple approach was: > formdata.append("elementName", blob, "picture.png"); > > Jonas has suggested instead > blobbuilder.getFile("picture.png") > > I don't mind one way or another, or something else you think it's better. > I'm just requesting for a way to specify the filename (specifically the > extension is the important part) that will be sent to the server. Ah okay. In that case I think what Jonas suggested is fine. For Blob we use "blob" and if you do not want that create a File out of a Blob with a name of your choosing. -- Anne van Kesteren http://annevankesteren.nl/
Received on Wednesday, 29 June 2011 16:54:14 UTC