/
Xshell에서 SFTP 프로토콜로 파일 전송하는 방법을 알고 싶습니다
Xshell에서 SFTP 프로토콜로 파일 전송하는 방법을 알고 싶습니다
Xshell의 Local 쉘 프롬프트 상에서 sftp 명령을 이용하여 파일 전송 작업이 가능합니다.
다음과 같이 파일 전송작업을 원하는 호스트로 sftp 명령을 실행하여 연결합니다.
sftp [user@]host [port]
(실행 명령 예)
[C:\~]$ sftp myhostname
[C:\~]$ sftp myusername@myhostname
[C:\~]$ sftp myusername@myhostname 12345
sftp 명령이 실행되면 지정한 호스트로 연결되어 파일 다운로드/업로드 명령을 수행할 수 있습니다.
sftp 프롬프트 상에서 수행할 수 있는 작업은 help 명령으로 리스트할 수 있습니다.sftp:/home/myusername> help bye finish your SFTP session cd change your remote working directory clear clear screen exit finish your SFTP session explore explore your local directory get download a file from the server to your local machine help give help lcd change and/or print local working directory lls list contents of a local directory lpwd print your local working directory ls list contents of a remote directory mkdir create a directory on the remote server mv move or rename a file on the remote server put upload a file from your local machine to the server pwd print your remote working directory quit finish your SFTP session rename move or rename a file on the remote server rm delete a file rmdir remove a directory on the remote server sftp:/home/myusername> - 파일 업로드 과정을 예로 들면 아래와 같습니다.
- cd 명령어로 업로드하고자 하는 디렉토리로 이동(서버)
- lcd 명령어로 업로드할 파일이 있는 디렉토리로 이동 (Windows)
- lls로 파일명 확인
- put 명령어로 업로드
Xftp가 설치되어 있다면 Xftp와 Xshell을 연동하여 파일 업로드/다운로드를 보다 쉽고 안전하게 할 수 있습니다.
자세한 사항은 다음 FAQ를 참고하십시오.
FAQ Link
Related content
Xshell 명령줄 옵션
Xshell 명령줄 옵션
More like this
Xshell 명령줄 옵션
Xshell 명령줄 옵션
More like this
SSH 서버가 암호를 거부했습니다
SSH 서버가 암호를 거부했습니다
More like this
일치하는 알고리즘이 없다는 메시지
일치하는 알고리즘이 없다는 메시지
More like this