From user-return-24283-apmail-commons-user-archive=commons.apache.org@commons.apache.org Wed Apr 07 05:57:29 2010 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 21708 invoked from network); 7 Apr 2010 05:57:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 05:57:29 -0000 Received: (qmail 22076 invoked by uid 500); 7 Apr 2010 05:57:28 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 21972 invoked by uid 500); 7 Apr 2010 05:57:28 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 21964 invoked by uid 99); 7 Apr 2010 05:57:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 05:57:27 +0000 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ralph.goers@dslextreme.com designates 74.125.92.149 as permitted sender) Received: from [74.125.92.149] (HELO qw-out-1920.google.com) (74.125.92.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 05:57:19 +0000 Received: by qw-out-1920.google.com with SMTP id 4so239457qwk.60 for ; Tue, 06 Apr 2010 22:56:58 -0700 (PDT) Received: by 10.229.99.77 with SMTP id t13mr1294339qcn.80.1270619817651; Tue, 06 Apr 2010 22:56:57 -0700 (PDT) Received: from [192.168.10.132] (cpe-75-82-178-177.socal.res.rr.com [75.82.178.177]) by mx.google.com with ESMTPS id y41sm7518917qce.23.2010.04.06.22.56.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 06 Apr 2010 22:56:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: [vfs] Facing issue while FTPing a file from Mainframe server using vfs -can someone help From: Ralph Goers In-Reply-To: <4BBC16C1.2030306@tbee.org> Date: Tue, 6 Apr 2010 22:56:54 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <4A9CC7FB-9B95-42FC-B5C9-AD91F9CEA115@dslextreme.com> References: <4BBC16C1.2030306@tbee.org> To: "Commons Users List" X-Mailer: Apple Mail (2.1078) Did you file a Jira and supply a patch? Ralph On Apr 6, 2010, at 10:23 PM, Tom wrote: > I found that VFS has problems when running against Alfresco's FTP = server and I had to patch VFS. Maybe this has a similar cause; I could = send you my VFS, see if that helps? >=20 > Tom >=20 >=20 >=20 > On 2010-04-06 20:37, mayur malpani wrote: >> Hi, >> I am facing issues while FTPing a file from Mainframe server to = unix >> server using apache commons vfs ,but it gives me a exception saying = source >> file cannot be found when i am trying to use the copyfrom ( ) = function . >>=20 >> org.apache.commons.vfs.FileSystemException >> : Could not copy ftp://host/file-name because it does not exist. >> at org.apache.commons.vfs.provider.AbstractFileObject.copyFrom( >> AbstractFileObject.java:858) >> at Testvfs.main( >> Testvfs.java:102) . >>=20 >> I am resolving the file using resolve( ) method .The url i am using = is " >> ftp:\\\ " . Once i retrieve a FTPFileObject = i even >> try to run FTPFileObject.fileExists( ) method and it returns me false = value. >> I even confirmed that the file exist on the mainframe server. >>=20 >>=20 >> The file from which i am trying to ftp is a mainframe server and = copying it >> to unix server. >>=20 >>=20 >> Can someone please help me out with this. >>=20 >>=20 >> Thanks >> Mayur. >>=20 >> =20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org