         if let link = ftpResources[kCFFTPResourceLink as String] as? String {
             item.link = link
         }
-        if let size = ftpResources[kCFFTPResourceSize as String] as? UInt64 {
+        if let size = ftpResources[kCFFTPResourceSize as String] as? Int {
             item.size = size
         }
         if let type = ftpResources[kCFFTPResourceType as String] as? Int {

    public var name: String = ""
    public var link: String = ""
    public var date: NSDate = NSDate()
    public var size: UInt64 = 0
    public var mode: Int32 = 0
    public var owner: String = ""
    public var group: String = ""
    public var path: String = "/"

        return (true, nil)
    }
    
    private func mapFTPResources(ftpResources: NSDictionary) -> ResourceItem {
        let item = ResourceItem()
        if let mode = ftpResources[kCFFTPResourceMode as String] as? Int {
            item.mode = mode
        }
        if let name = ftpResources[kCFFTPResourceName as String] as? String {
