iosuploadingtime-estimation

iOS - How to find the estimated time left for uploading a file


I have a scenario in which I have to inform user about how much time their file would take to successfully upload to FTP Server using internet. I am here if someone have any idea or suggestions on how to do that? I know that it would take the size of file and the internet speed. More suggestion are welcome. Thanks in advance


Solution

  • It can be done by sending packet of bytes and see after how much time specific size of data is uploaded completely, only then you can find out your upload speed...