How to Overwrite a Local File
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
Shojiro SHIBAYAMA
2020-6-29
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!