I probably need a bit more information.  Saying "mainframe" doesn't help much. 
What OS is it running? Will it be translating from EBCDIC to ASCII. It has been 
a long time since I worked on zOS etc that I can't remember if just specifying 
ascii is enough to do the conversion.  Is it looking for an actual file name or 
is it going to represent a dd name? All that said, I no longer have access to 
any of these systems so it is going to be tough to help.

Is that the full stack trace?

Ralph

On Apr 6, 2010, at 7:49 AM, 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) .
> Can someone please help me out with this issue.Is their a specific way the
> ftp source file object is  obtained for mainframe file.
> 
> 
> Thanks
> Mayur.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to