Class FtpFileSystemView

java.lang.Object
com.logicaldoc.ftp.FtpFileSystemView
All Implemented Interfaces:
org.apache.ftpserver.ftplet.FileSystemView

public class FtpFileSystemView extends Object implements org.apache.ftpserver.ftplet.FileSystemView
A logical representation of the LogicalDOC file system
Since:
8.0
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • FtpFileSystemView

      public FtpFileSystemView(FtpUser user, boolean caseInsensitive) throws org.apache.ftpserver.ftplet.FtpException
      Constructor - internal do not use directly, use NativeFileSystemFactory instead
      Parameters:
      user - the current user
      caseInsensitive - not used
      Throws:
      org.apache.ftpserver.ftplet.FtpException - error in the FTP server
  • Method Details

    • changeWorkingDirectory

      public boolean changeWorkingDirectory(String path) throws org.apache.ftpserver.ftplet.FtpException
      Specified by:
      changeWorkingDirectory in interface org.apache.ftpserver.ftplet.FileSystemView
      Throws:
      org.apache.ftpserver.ftplet.FtpException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.apache.ftpserver.ftplet.FileSystemView
    • getFile

      public org.apache.ftpserver.ftplet.FtpFile getFile(String path) throws org.apache.ftpserver.ftplet.FtpException
      Specified by:
      getFile in interface org.apache.ftpserver.ftplet.FileSystemView
      Throws:
      org.apache.ftpserver.ftplet.FtpException
    • getHomeDirectory

      public org.apache.ftpserver.ftplet.FtpFile getHomeDirectory() throws org.apache.ftpserver.ftplet.FtpException
      Specified by:
      getHomeDirectory in interface org.apache.ftpserver.ftplet.FileSystemView
      Throws:
      org.apache.ftpserver.ftplet.FtpException
    • getWorkingDirectory

      public org.apache.ftpserver.ftplet.FtpFile getWorkingDirectory() throws org.apache.ftpserver.ftplet.FtpException
      Specified by:
      getWorkingDirectory in interface org.apache.ftpserver.ftplet.FileSystemView
      Throws:
      org.apache.ftpserver.ftplet.FtpException
    • isRandomAccessible

      public boolean isRandomAccessible() throws org.apache.ftpserver.ftplet.FtpException
      Specified by:
      isRandomAccessible in interface org.apache.ftpserver.ftplet.FileSystemView
      Throws:
      org.apache.ftpserver.ftplet.FtpException