The example for using Alamofire.download() works just fine, but there isn\'t any detail in how to access the resulting downloaded file. I can figure out where the file is and wh
This answer from an Alamofire member seems to be the best answer:
let destination = Alamofire.Request.suggestedDownloadDestination(
directory: .CachesDirectory,
domain: .UserDomainMask
)
Alamofire.download(.GET, "http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf", destination: destination)
.progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
print(totalBytesRead)
}
.response { request, response, _, error in
print(response)
print("fileURL: \(destination(NSURL(string: "")!, response))")
}