On Wed, Jul 10, 2013 at 7:56 AM, Uma Maheswara Rao G <[email protected]> wrote: > I am implementing HDFSFileSystemView instead of NativeFileSystemView. Most > of the commands working with my changes. I met one scenario when I try to > connect to FTPServer via FileZilla client. > When I try to open one particular folder, it is sending CWD command first to > change the currentWorking directory. Things are happening fine. The current > directory changed to the specified folder excluding root path. > Next command would be LIST command. Here looks like FileZilla does not > specify the arguments. So, as per the documentation of LIST command, if > argument is null, it should list the files from currentWorkingDirectory. But > here I am seeing that > Passed argement coming up with root path. So, list command is always giving > the listing result root path only. I am not sure I missed something here. > > // parse argument > ListArgument parsedArg = ListArgumentParser.parse(request > .getArgument()); > > Any idea what could be the behavior here?
Not sure I follow. Your view implementation must keep state on what's the cwd and merge that with parsedArg.getFile() in the code above. What am I missing here? /niklas
