View forum topic
List of forum topicsSubject: Download file
Hi.
When i downloaded file i got file with the name that i specified.
However, when the response was 'Not found', then i got a "bad" file.
My question is how do i know if my download failed.
tnx.
Do you mean the Download command?
There are several methods. For example, if your file is binary then you can compare the beginning of the downloaded file. Also, you can compare the size of the downloaded file and the size which should be.
Yes,
But the file that i need to download is dynamic (Size or content,
The only constant data is a name of file.
tnx
I don't know more details about your files.
Is the answer File Not Found constant? You can detect if the answer 404 оr not. If the right file cannot begin with '<html' then you can detect this.
Aslo, for example, the size of the Not found answer is about 10 KB but the minimum size of the right file is 1MB.
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released. read more
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.
February 05, 2021 Installer CreateInstall 8.8.0 was released.
April 11, 2020 Installer CreateInstall 8.7.0 was released.