How to get a the remote file attributes through FTP using ConnectionKit
I need to get the file attrib开发者_如何学JAVAutes of a remote file using the ConnectionKit framework.
What I am trying to do is compare the modification date of the file on the server and if it is newer than the local copy then download it. I've got the CKTransferRecord for the transfer but this only gives me the remote file path not that remote files attributes.
What is the best way to get the remote files attributes?
Thanks for your help!
精彩评论