1

I've been checking out https://github.com/dacr/jassh and https://github.com/sirthias/scala-ssh

Neither seem to work...

closed as unclear what you're asking by Tom, RockPaperLizard, Pierre.Vriens, unor, Jan Doggen Apr 2 '16 at 12:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

Here's one that crossed my way, it's called Scala FTP. It's open source and available on GitHub. It does not look like it has support for SFTP but, at the time of this writing, you said in the title FTP/SFTP (FTP or SFTP). Note: This library hasn't been updated in two years.

Scala FTP (open source)

A small library for working with FTP in Scala

object E {

  private val client: FTP = FTPClient() // create a new FTP client instance

  def downloadFileExample() : Unit = {
    client.connectWithAuth("ftp.mozilla.org", "anonymous", "")

    client.cd("pub")

    if (client.filesInCurrentDirectory.contains("README")) {
      client.downloadFile("README")
    }

    client.disconnect()
  }
}

Not the answer you're looking for? Browse other questions tagged or ask your own question.