How to Overwrite a Local File

3 次查看(过去 30 天)
Ayomide Olabode
Ayomide Olabode 2020-6-29
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
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.
Ayomide Olabode
Ayomide Olabode 2020-6-30
Thank you Shojiro, pressing Y did not help either. I guess I have to work with other ftp software then.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by