File downloader/uploader with progress monitor

Download/upload a file from/to the web with progress display using MATLAB's http web services.
ダウンロード: 27
更新 2024/2/25

ライセンスの表示

Feedback:
If you find these functions useful please add a review, or, if you have ideas for more options or features, leave a comment in the discussion!
Usage:
Use downloadFile to download a file from the web and display the progress of the download.
downloadFile(saveFilePath, webFileSourceUrl)
Use uploadFile to upload a file to the web and display the progress of the upload.
uploadFile(localFilePath, webFileTargetUrl)
The progress can be shown in a waitbar, or in MATLAB's command window. The update interval can also be configured.
Optional parameters:
The following options are available to customize the progress display (Options are provided as optional name-value pairs in the function calls):
  • DisplayMode : Where to display progress. Options: 'Dialog Box' (default) or 'Command Window'
  • UpdateInterval : Interval (in seconds) for updating progress. Default = 1 second.
  • ShowFilename : Whether to show name of uploaded file. Default = false.
  • IndentSize : Size of indentation if displaying progress in command window.

引用

Eivind Hennestad (2024). File downloader/uploader with progress monitor (https://www.mathworks.com/matlabcentral/fileexchange/118460-file-downloader-uploader-with-progress-monitor), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2022a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.6.3

Upate description

1.0.6.2

Fix formatting issue with description

1.0.6.1

Updated description

1.0.6

Modified progress monitor to support uploads and added uploadFile function

1.0.5

Updated to show elapsed time of download after download completes.

1.0.4

Changed name to downloadFile
Added some options for display (Show filename, indent message)
Improved display messages

1.0.3

Updated image

1.0.2

Fix: Don't show output of urlencode in command window

1.0.1

Added input argument validation

1.0.0