websave - Showing download progress

I am working on a desktop application from which the user can choose certain files to download from the web. I am using websave to download the file, and it's working well, but I want to show the user the progress of the download. Is it possible? If not, can I do it using a different method?
Thank you.

4 comentarios

Alfonso Rodriguez-Molares
Alfonso Rodriguez-Molares el 31 de Mayo de 2017
Mee too! Please MATLAB answer this questions.
Dhruv Haldar
Dhruv Haldar el 17 de Ag. de 2020
Same here
Rik
Rik el 17 de Ag. de 2020
You will probably need to interface with a command line tool that sends back the percentage.
William Thielicke
William Thielicke el 12 de Ag. de 2024
Maybe this would work with parfeval: Downloading and checking the file size in a loop in parallel...?

Iniciar sesión para comentar.

Respuestas (1)

Taylor
Taylor el 14 de Ag. de 2024

0 votos

I'm not sure there is a straightforward way to accomplish this beacuse websave does not give you any intermittent updates on the download progress. @William Thielicke suggestion of parfeval could work. You would then call dir at regular intervals to return the size of the file being downloaded and then use waitbar or uiprogressdlg to display a progress bar.

Categorías

Más información sobre Downloads en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 15 de Mzo. de 2017

Respondida:

el 14 de Ag. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by