I am trying to save voice recordings and transfer those files to my FTP server, typically ranging from 200kb up to 75 MB in size. I anticipate infrequent mid-session internet disconnections or app being terminated or the user inadvertently pressing the home button. Just wondering how to set up resume of transfers without having to start afresh, as this would be a pain, particularly when transferring large files.
Any help would be g开发者_如何学运维reatly appreciated.
Your FTP client will need to send a REST
(RESTart
) command, with an offset for where the transfer last ended.
精彩评论