FTP에서 로컬 오류로 파일 복사 (copy files from ftp to local error)


문제 설명

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 MoraruSilvia Parfeni)

참조 문서

  1. copy files from ftp to local error (CC BY‑SA 2.5/3.0/4.0)

#FTP #batch-file #CMD






관련 질문

사용자 입력 경로 psftp 스크립트 배치 파일 (User input path psftp script batch file)

Android의 비동기 클래스에서 FTP 다운로드에 진행률 표시줄을 표시하는 방법은 무엇입니까? (How to show the progress bar in FTP download in async class in Android?)

Excel VBA - WinSCP 명령줄에 공백이 있는 변수 경로 전달 (Excel VBA - Passing a variable path with spaces to WinSCP command-line)

PHP에서 ftp를 사용하여 서버에 파일 업로드 (upload the file into the server using ftp in php)

VSFTP 연결 오류 (VSFTP Error Connecting)

ftp를 통해 게시할 때 액세스가 거부되었지만 로컬 IIS(.NET 응용 프로그램)에 게시할 때는 제대로 작동합니다. (Access denied on publish via ftp but works fine on publish to local IIS (.NET Application))

FTP 바이너리 전송 후의 Charset (Charset after FTP binary transfer)

FTP4J를 사용하여 FTP에 연결할 수 없음 (Unable to connect to FTP using FTP4J)

twisted.protocols.ftp.FTP에서 REST를 구현하시겠습니까? (Implementing REST in twisted.protocols.ftp.FTP?)

루트 액세스 없이(설치용) 프로젝트에서 libfuse를 사용하시겠습니까? FTP 마운트 및 inotify/kqueue/FSEvents (Use libfuse in a project, without root access (for installation)? FTP mounts & inotify/kqueue/FSEvents)

사용자 이름: root, 호스트: <host_ip>로 로그인할 수 없습니다. (Could not login with username: root, host: <host_ip>)

FTP Python 550 매개변수 잘못된 파일 이름 오류 (FTP Python 550 Parameter Incorrect Filename Error)







코멘트