[VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Nicolas Delsaux
Hi all following my previous question, I have a new issue regarding navigation to a SFTP directory. I connect to a remote SFTP server by first creating a FileObject linked to its root folder, then I try to open a subdirectory by calling resolveFile, but it seems to fail in the middle. Here is the

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread sebb
On 15 September 2010 09:51, Nicolas Delsaux nicolas.dels...@gmail.com wrote: Hi all following my previous question, I have a new issue regarding navigation to a SFTP directory. I connect to a remote SFTP server by first creating a FileObject linked to its root folder, then I try to open a

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Nicolas Delsaux
On Wed, Sep 15, 2010 at 12:52 PM, sebb seb...@gmail.com wrote: So 'data' is not a folder. Well ... it is, because Unfortunatly, a ls indicates that total 1 drwxr-xr-x  3 root root  72 Jan 25  2010 . drwxr-xr-x 20 root root 880 Sep  6 09:30 .. drwxr-xr-x  5 root root 128 Mar 31 18:11

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Ralph Goers
What does ls show when in myappli? On Sep 15, 2010, at 4:53 AM, Nicolas Delsaux wrote: On Wed, Sep 15, 2010 at 12:52 PM, sebb seb...@gmail.com wrote: So 'data' is not a folder. Well ... it is, because Unfortunatly, a ls indicates that total 1 drwxr-xr-x 3 root root 72 Jan 25

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Nicolas Delsaux
On Wed, Sep 15, 2010 at 4:11 PM, Ralph Goers ralph.go...@dslextreme.com wrote: What does ls show when in myappli? server:/appli/myappli # ls -la total 25041454 drwxr-xr-x 12 root root576 Sep 15 16:17 . drwxr-xr-x 28 root perigee1632 Aug 3 11:03 .. lrwxrwxrwx 1 root root

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Ralph Goers
So the data directory is a link to another mount. I'm not familiar with the SFTP code but my guess is there is something preventing it from following links. Ralph On Sep 15, 2010, at 7:45 AM, Nicolas Delsaux wrote: On Wed, Sep 15, 2010 at 4:11 PM, Ralph Goers ralph.go...@dslextreme.com

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread James Carman
I committed a patch a while ago in the FTP provider to have it support symbolic links better: https://issues.apache.org/jira/browse/VFS-196 Perhaps we need to do that with SFTP too? On Wed, Sep 15, 2010 at 11:52 AM, Ralph Goers ralph.go...@dslextreme.com wrote: So the data directory is a link

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread Nicolas Delsaux
On Wed, Sep 15, 2010 at 5:52 PM, Ralph Goers ralph.go...@dslextreme.com wrote: So the data directory is a link to another mount.  I'm not familiar with the SFTP code but my guess is there is something preventing it from following links. I'm making the assumption the link is not followed by