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 44C439856 for ; Wed, 28 Mar 2012 14:56:27 +0000 (UTC) Received: (qmail 50443 invoked by uid 500); 28 Mar 2012 14:56:26 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 50407 invoked by uid 500); 28 Mar 2012 14:56:26 -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 50399 invoked by uid 99); 28 Mar 2012 14:56:26 -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 14:56:26 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of avinashapr9@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-yx0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 14:56:21 +0000 Received: by yenm3 with SMTP id m3so751379yen.6 for ; Wed, 28 Mar 2012 07:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=C17JHWFhaAavvnVIjO3qM3BEJaUbrBnSb1TcPA6q3ig=; b=MH+ZbY8wGP/SNzequxT7hyCDhCR9TRCn70AdbBW0eeuOWWUd1Lx173ZvFRuatgX9fn Ppkg9LMX0XLDkABFPAs5CkLq8d3tivCnwMKbczTBedEl3NMPa63CmdQpAmGqyHolSH4l L4oXAUbtO0PQvkgYGbmNSGhtIB88Prnw/afJtJ4b0qiOOfVKTlPjVN72fr4zEUcW2ZAj MxmViSWmgIb1oKRUuRMZIMIunLqt2kOMYeXKNQCR1Bd2Z9RwmI1D+licNBmS3KiK1O1O QnCa1wDeau58QAM+qOnBVi4WjHbRO7loUYmSpF3rJnYTOQ6UyfkjP7rmq6tn8Tirr/Du W5Ug== Received: by 10.68.191.69 with SMTP id gw5mr57640912pbc.141.1332946559556; Wed, 28 Mar 2012 07:55:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.225.36 with HTTP; Wed, 28 Mar 2012 07:55:19 -0700 (PDT) In-Reply-To: References: From: Avinash Narayanan Date: Wed, 28 Mar 2012 20:25:19 +0530 Message-ID: Subject: Re: SFTP file transfer for large files using flex To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8fb208dc2fdb8804bc4ece69 --e89a8fb208dc2fdb8804bc4ece69 Content-Type: text/plain; charset=UTF-8 Hi JP, Thanks for taking time to reply! Stackoverflow had questions like this but 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? Aren't there plenty of free SFTP apps already? 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. 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 but > > I'm a little lost here. I need to upload ~2Gb file from my local machine > 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 supremely > > helpful! > > > > I've already seen the following links > > > > http://www.actionscript.org/forums/showthread.php3?t=181895 > > 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-the-filereference-class/ > > > > Thanks in Advance. > > > > > > With Warm Regards, > > Avinash > > > > -- > JP Bader > Principal > Zavteq, Inc. > @lordB8r | jp@zavteq.com > 608.692.2468 > --e89a8fb208dc2fdb8804bc4ece69--