How to Overwrite a Local File
조회 수: 1 (최근 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!