File downloader/uploader with progress monitor

版本 1.0.6.5 (8.1 KB) 作者: Eivind Hennestad
Download/upload a file from/to the web with progress display using MATLAB's http web services.
40.0 次下载
更新时间 2024/9/26

查看许可证

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.5

Restore title

1.0.6.4

Update title

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