Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B88D10E77 for ; Fri, 22 Nov 2013 23:44:56 +0000 (UTC) Received: (qmail 89590 invoked by uid 500); 22 Nov 2013 23:44:55 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 89552 invoked by uid 500); 22 Nov 2013 23:44:55 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 89544 invoked by uid 99); 22 Nov 2013 23:44:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 23:44:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tommy@devgeeks.org designates 209.85.160.50 as permitted sender) Received: from [209.85.160.50] (HELO mail-pb0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 23:44:51 +0000 Received: by mail-pb0-f50.google.com with SMTP id rr13so1957800pbb.23 for ; Fri, 22 Nov 2013 15:44:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=iXcOlHRAoLHatuym+kZGuR4TSQofpXq5a4jThio3Y7Y=; b=QTsIddqteZJAmTg3KhzporvBqyfvgulC0Fn9vRtzQgwBDbscuSAYRMtHEVWIZZzQa5 ytwnuFSr+7r91k96nRkZ9/HWBP2kJAsKwORnpFpfPoTTHoL6AAJASOXUd/YQLbyNhwlb 2C+0RiTHhXrBa2hyHLZRK8rHrugp/QxK155kBq0y9gKnMe4QUVxMJQVTP7caAl6n2nVH nm533PSSfUsTo4uc1R+sIB0qgOSigJ7/euL+bxXhhMOMpLs27Ue/9q2JEteaiFEq93mU SOrmL3L8UoH3qjwgGtrEkR3qqty+H4bKb3Cr9xSzfhXmilA2ZyTcU8nLIjGluFTmtByH Ldag== X-Gm-Message-State: ALoCoQmNYzJNW369t1y6S2P+SVocMXCTpwAaTJqyLEGA8033BgFeN7ojCI8Vd8hZHHasyGkfK+pS X-Received: by 10.68.218.165 with SMTP id ph5mr14154690pbc.11.1385163870873; Fri, 22 Nov 2013 15:44:30 -0800 (PST) Received: from [192.168.1.12] (CPE-110-148-144-6.vxl8.lon.bigpond.net.au. [110.148.144.6]) by mx.google.com with ESMTPSA id yh1sm55876111pbc.21.2013.11.22.15.44.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Nov 2013 15:44:29 -0800 (PST) From: Tommy-Carlos Williams Content-Type: multipart/alternative; boundary="Apple-Mail=_0B1DAE5F-CDB7-4313-A390-0902CE4B2F4A" Message-Id: <4A8488A3-8A14-4C0D-AFF7-88C37D4A654E@devgeeks.org> Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1812\)) Subject: Re: Updating FileTransfer Date: Sat, 23 Nov 2013 10:44:24 +1100 References: <5900F9BCB827854FB01CA94BA718810D1E73DE7E@USPHLEMB11A.global.corp.sap> To: dev@cordova.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1812) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_0B1DAE5F-CDB7-4313-A390-0902CE4B2F4A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Since most recent-ish platforms support xhr2 (excluding the always = joyful Android 2.x) [1], it would probably be a REALLY good thing for = FileTransfer to become a polyfill for xhr2. I know that would mean a major version bump and an api change=85 but = isn=92t that what we seem to already be discussing? 1. http://caniuse.com/#feat=3Dxhr2 On 23 Nov 2013, at 9:02 am, Brian LeRoux wrote: > Ya FileTransfer not a spec and this is mostly solved now by XHR2 which = our > File implementation predates. (Also why we split it out.) >=20 >=20 > On Fri, Nov 22, 2013 at 12:16 PM, Ian Clelland = wrote: >=20 >> On Fri, Nov 22, 2013 at 3:12 PM, Wargo, John = wrote: >>=20 >>> Brian, >>>=20 >>> Nope to which part of his question? I thought the File API was an >>> implementation of the W3C File API? Even the File API docs page = begins >>> with: >>>=20 >>=20 >> The question was about FIleTransfer, not File -- and I think that the = nope >> was to the published spec side of the disjunction. (But I'll let = Brian >> clarify if I'm wrong) >>=20 >> As far as I can tell, there isn't a FileTransfer.upload / >> FileTransfer.download API anywhere else that's quite like the Cordova = API. >>=20 >> Ian >>=20 >>=20 >>>=20 >>> "An API to read, write and navigate file system hierarchies, based = on the >>> w3c file api." >>>=20 >>> John M. Wargo >>> Twitter: @johnwargo >>>=20 >>>=20 >>> -----Original Message----- >>> From: brian.leroux@gmail.com [mailto:brian.leroux@gmail.com] On = Behalf >> Of >>> Brian LeRoux >>> Sent: Monday, November 18, 2013 5:11 PM >>> To: dev@cordova.apache.org >>> Subject: Re: Updating FileTransfer >>>=20 >>> Answers inline. >>>=20 >>>=20 >>>> Does FileTransfer implement any published standard, or is it our = own >> API? >>>>=20 >>>> Nope. >>>=20 >>>=20 >>>=20 >>>> Does it make sense for FileTransfer to continue to use raw = FileSystem >>> paths >>>> (and *not* go through File at all?) given that the File API will = soon >> be >>>> returning only relative paths and filesystem:// URLs. >>>>=20 >>>> Consistent w/ URL scheme makes sense to me but I'll let others = chime in >>> how this will break everything and our users will hate us. But = remember: >>> plugins are versioned! >>>=20 >>=20 --Apple-Mail=_0B1DAE5F-CDB7-4313-A390-0902CE4B2F4A--