Skip to content

walla/scala-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala FTP

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()
  }
}

About

FTP library for Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages