title: Mocking SFTP, FTP, FTPS, Local File System Server in Java
body: <p>I need to test FTP/FTPS/SFTP/Local File System protocols in Java.</p>
  
  <p>I need a mock server which can be used in any of these methods.</p>
  
  <p>I could find a MockFTPServer. According to my understanding, it can be used only for simple FTP protocol and not for FTPS/SFTP/Local File System.</p>
  
  <p>Can anybody suggest if there is any mock implementation available for a server which supports FTP/FTPS/SFTP/Local File System in Java?</p>
  
  <p>Thanks,</p>
  
  <p>Vijay Bhore</p>