I have a file in a Ubuntu machine which I want to read in Apache spark .
I found this example :
object BasicTextFromFTP { def main(args: Array[String
Basic structure of the URL is a schema type (here ftp) followed by
ftp
//:@:/
where every part excluding host can be omitted.