Although I'm not sure my patch necessarily is the best one. I split compound paths into atomic steps and that works (this was the behavior that was closest to what VFS already was doing - this was a point fix without any spanning chances), but I saw that WebDrive always uses absolute paths (instead of relative) and that also works against Alfresco's FTP server. So maybe the better patch would be to convert VFS-FTP to always use absolute paths.

On 2010-04-07 08:18, Tom wrote:
Yes.


On 2010-04-07 07:56, Ralph Goers wrote:
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?

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:\\<host name>\<file-name> " . 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-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org


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





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





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

Reply via email to