From user-return-24291-apmail-commons-user-archive=commons.apache.org@commons.apache.org Wed Apr 07 07:36:22 2010 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 43226 invoked from network); 7 Apr 2010 07:36:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 07:36:22 -0000 Received: (qmail 99707 invoked by uid 500); 7 Apr 2010 07:36:21 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 99483 invoked by uid 500); 7 Apr 2010 07:36:21 -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 99474 invoked by uid 99); 7 Apr 2010 07:36:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 07:36:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [64.6.254.129] (HELO tbee.org) (64.6.254.129) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 07:36:06 +0000 Received: (qmail 8082 invoked from network); 7 Apr 2010 03:35:43 -0400 Received: from 82-169-203-130.ip.telfort.nl (HELO ?192.168.1.3?) (82.169.203.130) by tbee.org with SMTP; 7 Apr 2010 03:35:38 -0400 Message-ID: <4BBC35C8.2040806@tbee.org> Date: Wed, 07 Apr 2010 09:35:36 +0200 From: Tom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Commons Users List Subject: Re: [vfs] Facing issue while FTPing a file from Mainframe server using vfs -can someone help References: <4BBC16C1.2030306@tbee.org> <4BBC2762.4070607@tbee.org> In-Reply-To: Content-Type: multipart/mixed; boundary="------------050406070404080001050806" X-Virus-Checked: Checked by ClamAV on apache.org --------------050406070404080001050806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Here it is. I patched the usage of compound relative paths. Hope it helps. Tom On 2010-04-07 08:36, mayur malpani wrote: > Sure thanks Tom > > On Wed, Apr 7, 2010 at 12:04 PM, Tom wrote: > > >> I'm going to drive to work and send you the file. >> >> Tom >> >> >> >> On 2010-04-07 08:32, mayur malpani wrote: >> >> >>> Hey Tom, >>> That would be great if u can send the patch file . >>> >>> >>> Thanks >>> Mayur >>> >>> On Wed, Apr 7, 2010 at 10:53 AM, 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? >>>> >>>> Tom >>>> >>>> >>>> >>>> >>>> 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 . >>>>> >>>>> 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) . >>>>> >>>>> 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. >>>>> >>>>> >>>>> The file from which i am trying to ftp is a mainframe server and copying >>>>> it >>>>> to unix server. >>>>> >>>>> >>>>> Can someone please help me out with this. >>>>> >>>>> >>>>> Thanks >>>>> Mayur. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>>> For additional commands, e-mail: user-help@commons.apache.org >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >> >> >> > --------------050406070404080001050806 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org --------------050406070404080001050806--