     }
     
     func testList() {
-        session.list("/") {
+        self.session.list("/") {
             (resources, error) -> Void in
             print("List directory with result:\n\(resources), error: \(error)\n\n")
         }

            
            var configuration = SessionConfiguration()
            configuration.host = "ftp://speedtest.tele2.net"
            session = Session(configuration: configuration)
            
            testList()
            //testDownload()

    
    func testCreate() {
        let name = NSUUID().UUIDString
        self.session.createDirectory("/upload/\(name)") {
            (result, error) -> Void in
            print("Create directory with result:\n\(result), error: \(error)")
        }
