String slash="";
if (!workingDirectory.endsWith("/")) slash="/";
String fullPathname = currentDirectory + slash + pathname;
Vector files = sftpClient.ls(fullPathname);
for(int i=0; i<files.size();i++){
SFTPv3DirectoryEntry entry = (SFTPv3DirectoryEntry) files.get(i);
if (!entry.attributes.isDirectory()){
rvVector.add(pathname+"/"+entry.filename);
} else if (!entry.filename.equals(".") && !entry.filename.equals("..")){
nList(rvVector, currentDirectory, pathname+"/"+entry.filename);
}