setTimeout('ajax()', 1000);
и увидишь, правильно или нет. If you close the browser tab or the app that the file transfer was initiated from, you will have to start over. However, a network interruption or your client device entering standby / sleep mode for less than 48 hours will usually allow your file transfer to resume.
If your machine shuts down you will not be able to resume the transfer.