How to Overwrite a Local File
6 views (last 30 days)
Show older comments
I am downloading some datasets using 'mget' in MATLAB.
For certain datasets that are already in the download directory, I get a notification to overwrite or otherwise as follows:
Overwrite local file 'ABCD0010.zip'?
Destination directory already contains file 'ABCD0010.zip'.
Choose, if you want to overwrite the file or skip this transfer and keep existing file.
New: 387,346 bytes, 1/4/2018 12:51 AM
Existing: 387,346 bytes, 1/4/2018 12:51:00 AM
(Y)es, (N)o, (C)ancel, Yes to A(l)l, N(o) to All, New na(m)e, Ne(w)er only: Cancel
I have input the options above as string without success. I'd appreciate an assistance.
2 Comments
Shojiro SHIBAYAMA
on 29 Jun 2020
What if you just press Y, not 'Y' as string, to carry out the download? If it fails, it may be easier and faster to use other softwares for FTP connection.
Answers (0)
See Also
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!