     func testUpload() {
         if let URL = NSBundle.mainBundle().URLForResource("TestUpload", withExtension: "png") {
             let path = "/upload/\(NSUUID().UUIDString).png"
-            session.upload(URL, path: path) {
+            self.session.upload(URL, path: path) {
                 (result, error) -> Void in
                 print("Upload file with result:\n\(result), 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)")
        }
