문제 설명
FTP에서 로컬 오류로 파일 복사 (copy files from ftp to local error)
내 ftp 서버 ftp://ftp.prodega.ch
에서 많은 파일을 복사하려고 하므로 이것을 사용하여 code.txt
라는 파일을 만들었습니다. text:
open ftp.prodega.ch
user
password
lcd E:\f2
cd Bilder1
get file1.jpg
bye
그런 다음 명령 프롬프트에서 다음 명령을 실행합니다.
ftp ‑s:code.txt
file1.jpg
파일이 로컬 E에 복사되고 있습니다. \f2
폴더; get file1.jpg
대신 mget *
를 사용하여 ftp 폴더 Bilder1
의 모든 파일을 복사하려고 하지만 작동하지 않습니다.
첫 번째 이미지는 성공적으로 복사되지만 두 번째 이미지(mget *
사용)는 복사되지 않고 다음 결과를 보여줍니다.
참조 솔루션
방법 1:
Try entering this command into your command prompt:
ftp ‑i ‑s:code.txt
(by Viorel Moraru、Silvia Parfeni)