commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [VFS][SFTP] Unable to navigate to directory
Date Wed, 15 Sep 2010 14:11:32 GMT
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 <sebbaz@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 files
>> 
>> So 'files' is a folder.
> 
> and that ls has been done in "data", which is a folder (notice that
> I'm logging in as root - bad practice, I know, but my enterprise one).
>> 
>> No sign of 'data'
>> 
> 
> This is the folder I'm doing the ls in, in fact.
> Sorry for the misunderstanding. Let me recapitulate.
> 
> I'm connecting to one machine where, when trying to open the "files"
> folder from the "data" file object using this command
> 
> root.getChild("appli").getChild("myappli").getChild("data").getChild("files")
> 
> I get this exception
> 
> org.apache.commons.vfs.FileSystemException: Could not list the
> contents of "sftp://root:perigee@quasar/appli/perigee_63D/data"
> because it is not a folder.
>       at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:527)
>       at org.apache.commons.vfs.provider.AbstractFileObject.getChild(AbstractFileObject.java:634)
>       at com.perigee.svnsync.SftpExecutor.existsContent(SftpExecutor.java:166)
>       at com.perigee.svnsync.SvnSynchronizer.examineRelease(SvnSynchronizer.java:32)
>       at com.perigee.svnsync.SvnSynchronizer.synchronize(SvnSynchronizer.java:86)
>       at com.perigee.svnsync.Main.run(Main.java:125)
>       at com.perigee.svnsync.Main.main(Main.java:110)
> 
> Unfortunatly, btoh "data" and "files" seems to be folders, at least
> from these commands :
> 
> server:/appli/myappli/data # pwd
> /appli/perigee_63D/data
> quasar:/appli/myappli/data # ls -la
> 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 files
> 
> So, what am i doing wrong ?
> 
> -- 
> Nicolas Delsaux
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message