@Override public FileSystemView createFileSystemView(final User user) throws FtpException { final FileSystemView fsView = super.createFileSystemView(user); fsView.changeWorkingDirectory("home/test"); return fsView; } };
@Override public FileSystemView createFileSystemView(final User user) throws FtpException { final FileSystemView fsView = super.createFileSystemView(user); fsView.changeWorkingDirectory("home/test"); return fsView; } };
boolean success = false; try { success = fsview.changeWorkingDirectory(".."); } catch (Exception ex) { LOG.debug("Failed to change directory in file system", ex);
boolean success = false; try { success = fsview.changeWorkingDirectory(dirName); } catch (Exception ex) { LOG.debug("Failed to change directory in file system", ex);