フィルターのクリア

websave - Showing download progress

18 ビュー (過去 30 日間)
Neta Stern
Neta Stern 2017 年 3 月 15 日
回答済み: Taylor 2024 年 8 月 14 日 13:20
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 件のコメント
Rik
Rik 2020 年 8 月 17 日
You will probably need to interface with a command line tool that sends back the percentage.
William Thielicke
William Thielicke 2024 年 8 月 12 日 18:03
Maybe this would work with parfeval: Downloading and checking the file size in a loop in parallel...?

サインインしてコメントする。

回答 (1 件)

Taylor
Taylor 2024 年 8 月 14 日 13:20
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.

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by