File downloader/uploader with progress monitor

버전 1.0.6.3 (8.06 KB) 작성자: Eivind Hennestad
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