commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom <t...@tbee.org>
Subject Re: FTP findFiles vs FILE
Date Mon, 15 Mar 2010 20:23:03 GMT
Interestingly enough getChilderen() on the FTP returns an empty array, 
FILE returns the correct childeren, so rewriting it does not help much.
Naturally I'm able to connect to the URL using Filezilla and it shows 
the childeren correctly.



On 2010-03-15 17:41, Tom wrote:
>>> On 2010-03-15 16:03, James Carman wrote:
>>>> Can you not just use getChildren()?
>>>>
>>>> On Mon, Mar 15, 2010 at 10:54 AM, Tom<tbee@tbee.org>    wrote:
>>>>
>>>>> Slowly making progress on using VFS for FTP access after all kinds of
>>>>> exception that did not make sense.
>>>>>
>>>>> Anyhow, I have a tree that shows a directory structure. If I specify
>>>>> "file:///..."   the contents of the filesystem is shown; specifically
>>>>> findFiles loops into all childeren. If I only replace this
>>>>> with"ftp://..."
>>>>> findFiles does no longer loop into its childeren; it only finds 
>>>>> itself.
>>>>> So
>>>>> that means that if I unfold a directory I see the same directory 
>>>>> again,
>>>>> unfold, same dir, unfold, same dir, ...
>>>>>
>>>>> Why is the behavior for file: different from ftp:?
>>>>> How do I find childeren of an FTP FileObject?
>


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


Mime
View raw message