Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AC3F997A for ; Wed, 28 Mar 2012 20:46:13 +0000 (UTC) Received: (qmail 71154 invoked by uid 500); 28 Mar 2012 20:46:12 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 71108 invoked by uid 500); 28 Mar 2012 20:46:12 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 71100 invoked by uid 99); 28 Mar 2012 20:46:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 20:46:12 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hugo.mig@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 20:46:06 +0000 Received: by ghbz2 with SMTP id z2so1121475ghb.6 for ; Wed, 28 Mar 2012 13:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=+LEm2CCuSVujXF6IwjbxlUyBcgSUTR859K0IaT/Zg5g=; b=fqy4RB4HiTPQ5ZsgniEMcidEx3hza48oDnrkAZZHpYPgeJ2Y1z4zMaQvUVjzmjeQ+W PQHkqwZllWRy4YebeMixkb3Bs+MS1EYl0PighikKTvyjiG2FXiEl14VGgkwhgYQ5qnUY m4ynEMhlrNhljly75vc6GYQmCKYwGkpu+uoui/EGWbEsL445bzvPzlAXXiGb2nYwkToO HVVj44aKwVm2oiJxMB/UPoxzCM7Qsg0tijoNhYhdxO8syb4uK+BUiZBRZNVgLaeQGGBz RDhB7hc1LhI/3Q8adlioweECG5xVI81+VEyi72Le4Xa//qXMBs+LQ7KL5UHPUQxHp60a 3FRA== Received: by 10.236.184.129 with SMTP id s1mr31872748yhm.21.1332967545941; Wed, 28 Mar 2012 13:45:45 -0700 (PDT) MIME-Version: 1.0 From: Hugo Matinho Date: Wed, 28 Mar 2012 13:45:45 -0700 Message-ID: <-5529568150657010425@unknownmsgid> Subject: RE: SFTP file transfer for large files using flex To: Ariel Jakobovits , "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I know this might be the wrong place to ask and there is of course the limitation on how the FP handles the HTTP transport but couldn't we do something about flex supporting REST natively it's been several years already and yes there's blazeDS and GraniteDS and others but most JavaScript libraries support it natively most modern browsers implement it and it wasn't made available on the player because browsers didn't had it back then but come on it's 2012 some rest support would be nice Sent from my Windows Phone From: Ariel Jakobovits Sent: 28-03-2012 21:07 To: flex-dev@incubator.apache.org Subject: Re: SFTP file transfer for large files using flex >=A0I might be off, but I don't think an ANE is, or would be, part of=A0Fle= x.=A0 It is an extension for AIR. Flex has components intended only for AIR (such as=A0FileSystemList), and offering a component that exists as an ANE/AS combo that can be added to a project to upload large files does not seem out of the scope of Flex. Ariel Jakobovits Email: arieljake@yahoo.com Phone: 650-690-2213 Fax: 650-641-0031 Cell: 650-823-8699 ________________________________ From: JP Bader To: flex-dev@incubator.apache.org; Ariel Jakobovits Sent: Wednesday, March 28, 2012 12:04 PM Subject: Re: SFTP file transfer for large files using flex I might be off, but I don't think an ANE is, or would be, part of Flex.=A0 It is an extension for AIR, which is still controlled by Adobe. If we want to see about spawning new threads that could consume a massive dump of data files, process, and pass those into a service (FTP/SFTP/REST/Telnet/etc), that seems like a bit outside of scope of the Flex project, and more in line w/ Tamarin. We are working on the framework, which currently has limitations to the FP and AIR (which are Adobe).=A0 Potentially once we have access to Falcon(JS), there might be alternatives, but my question is, what 2GB file are you trying to have FP/AIR upload?=A0 There might be some tricks to chunking out the flow of data using byte arrays, and clearing them out as you go along with loading them to whatever repository/location you need, but I can't think of too many desktop applications that will not just freeze up when you load a 2GB (or any major file) into it. For video, that's one thing, but beyond a certain size, and normally the machine itself will slow down/become unresponsive. Most enterprises where I have done work, accessing and uploading massive amounts of data would be FTP via terminals or clients, not through a separate app (especially not AIR).=A0 Maybe I'm missing the reason behind wanting FP/AIR to handle that much data, but given the limitations of FP/AIR for processing data, I am not sure how you would approach building that into the framework.=A0 I guess examples of BigAssCanvas show that you could stitch together large files (larger than FP would allow), but once you get to a certain size, it becomes unresponsive. If there is a way to do it, I apologize for going off tangent, but we need to focus on getting bugs fixed and improving the framework first, and I'm not sure this is an improvement of the current framework so much as a nice feature request. Regards, On Wed, Mar 28, 2012 at 1:14 PM, Ariel Jakobovits wro= te: > would we consider developing ANEs to incorporate into Flex? > > Ariel Jakobovits > Email: arieljake@yahoo.com > Phone: 650-690-2213 > Fax: 650-641-0031 > Cell: 650-823-8699 > > > ________________________________ > =A0From: Marcus Fritze > To: flex-dev@incubator.apache.org; Marcus Fritze > Sent: Wednesday, March 28, 2012 10:34 AM > Subject: Re: SFTP file transfer for large files using flex > > Hi, > > as maybe all know Flash supports only a file size of 100MB. > > from the docs: > > FileReference -> upload() > >> Although Flash Player has no restriction on the size of files you can up= load or download, the player officially supports uploads or downloads of up= to 100 MB. > > I experienced that an upload / download of a larger file via Flash (FileR= eference) is possible. > > I agree with Avinash! I think this is a good place to discuss this topic = (and not the stack overflow forum). Because this mailing list is the place = where we can improve the Flex SDK / Flash. > > Correct me if I am wrong, but an upload of large files (2 GB or more) is = currently not possible in Flash. And maybe we can check if it is possible t= o enable a larger file upload / download via Flex / Flash. This feature is = very useful for Enterprise RIA's. I have already developed such an app and = have the same problem. > > Thanks! > > Marcus > > Am 28.03.2012 um 16:55 schrieb Avinash Narayanan: > >> Hi JP, >> >> Thanks for taking time to reply! Stackoverflow had questions like this b= ut >> not satisfactory answers. This was my last ditch effort since the other >> option is to write my own SFTP plug (which clients wont pay me to do :|)= . >> >> As for the apps, this upload needs to be 'part' of a desktop application >> written in adobe air so can't use any of these other tools :( >> >> Thanks >> Avinash Y >> >> >> On Wed, Mar 28, 2012 at 6:54 PM, JP Bader wrote: >> >>> Hi Avinash, >>> >>> My quick take on this is why you would want to recreate a tool for >>> this?=A0 Aren't there plenty of free SFTP apps already?=A0 Why not take >>> advantage of one of them? Tortoise, Cute, WinSCP, FileZilla, etc. >>> >>> Also, questions like these might be better asked on other forums like >>> stack overflow.=A0 This mailing list is for questions and development >>> regarding the next release of Flex. >>> >>> Regards, >>> >>> JP >>> >>> On Wed, Mar 28, 2012 at 3:16 AM, Avinash Narayanan >>> wrote: >>>> Hi All, >>>> >>>> I know this community is meant for future development of Apache Flex b= ut >>>> I'm a little lost here. I need to upload ~2Gb file from my local machi= ne >>> to >>>> a url via an air app using sftp. problem is we don't have sftp lib >>>> available. >>>> >>>> Also, I'm confused as to why in forums it says the flash player needs = to >>>> take the entire file into memory before loading it but I don't see any >>>> memory increase in my task manager (using the fileReference class). >>>> >>>> Another thing I wanted to know is how best to split up the file into >>> chunks >>>> for multi-part loading? Any help in any of these areas will be supreme= ly >>>> helpful! >>>> >>>> I've already seen the following links >>>> >>>> http://www.actionscript.org/forums/showthread.php3?t=3D181895 >>>> http://forums.adobe.com/thread/631103 >>>> http://blog.ansuz.nl/index.php/2011/02/11/flex-ftp-abort/ >>>> http://maliboo.pl/projects/FlexFTP/ >>>> http://forums.adobe.com/thread/245294 >>>> >>> http://blog.flexexamples.com/2007/09/21/uploading-files-in-flex-using-t= he-filereference-class/ >>>> >>>> Thanks in Advance. >>>> >>>> >>>> With Warm Regards, >>>> Avinash >>> >>> >>> >>> -- >>> JP Bader >>> Principal >>> Zavteq, Inc. >>> @lordB8r | jp@zavteq.com >>> 608.692.2468 >>> --=20 JP Bader Principal Zavteq, Inc. @lordB8r | jp@zavteq.com 608.692.2468