덕분에 내가 연결할 수 있었다, 여기에 내가 무슨 짓을 :에서 지금
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect with username and password
open ftp://username:[email protected]:port -implicit -certificate="aa:aa:aa:aa...."
# Change local directory
lcd C:\local_working_folder
# Force binary mode transfer
option transfer binary
# Download missing files to local directory from remote
synchronize local
# Delete all remote files
rm *
# Disconnect
close
# Exit WinSCP
exit
: "connection.txt"는 winscp.com 명령 텍스트 파일을 만든
명령 프롬프트 또는 배치 파일에서 winscp.exe가 설치된 위치에서 호출합니다. 설치 미디어에서 그것은 C 할 필요가있는 경우 : \ 프로그램 파일 \ WinSCP에 \ WinSCP.exe의 사용자가 파일을 추출한 폴더에 .ZIP 휴대용 버전 지점에서 추출 된 경우 :
C:\WinSCP\WinSCP.exe /console /script="connection.txt" /log="conn.log"
이
그런 다음에 배치 일정을 프로세스를 자동화하십시오.
나는 동일한 자격 증명으로 filezilla와 gui winscp를 사용하여 연결할 수 있지만 프로세스를 자동화 할 수 있도록 cli에서 그렇게해야합니다. – optionalNickname