Create a progress bar to show a uploading i percentage

there is any way to create a progress bar for uploading to show how much left to upload means to show user how much left to upload a file in progress bar please help some one

I don’t know whether it will be useful or not. Anyway have a look into it

Can any one have any solution