You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Eivind Hennestad (2026). File downloader/uploader with progress monitor (https://www.mathworks.com/matlabcentral/fileexchange/118460-file-downloader-uploader-with-progress-monitor), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.6.5 (8.06 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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
|
||
| 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 |
