meta data for this page
  •  

문서의 이전 판입니다!


ftp

명령어

  • Client 명령어 실행하기
    • !+[명령어]
    • >ftp !ls  <-- client족 파일 리스트 보기
  • 서버에 연결
    • open [주소]
    • ftp> open 192.168.0.1
      ftp> open root@192.168.0.1
  • 모드 변경경
    • binary : Binary 모드
    • ascii : Ascii 모드
    • ftp> binary
      200 I Type 설정
      ftp> ascii
      200 A Type 설정
      ftp>
  • 인터렉티브 모드 on/off
    • prompt : 실행 시 인터렉티브 모드 on/off
    • ftp> prompt
      Interactive mode off.
      ftp> prompt
      Interactive mode on.
      ftp>
  • 파일 Download
    • get : 한개의 파일 Download
    • ftp> get test.txt
    • mget : 여러개의 파일 Download
    • ftp> mget te*.txt
  • 파일 Upload
    • put : 한개의 파일 Upload
    • ftp> put test.txt
    • mput : 여러개의 파일 Upload
    • ftp> mput test.txt
  • 파일 삭제
    • delete : 한개의 파일 삭제
    • ftp> delete test.dat
    • mdelete : 여러개의 파일 삭제
    • ftp> mdelete *.dat
  • ftp 종료
    • quit
    • ftp> quit
  • 명령어 확인
    • ?
    • ftp> ?
      Commands may be abbreviated.  Commands are:
      
      !		cr		get		mdir		nlist		put		rmdir		tenex
      $		debug		glob		mget		nmap		pwd		rstatus		throttle
      account		delete		hash		mkdir		ntrans		quit		runique		trace
      append		dir		help		mls		open		quote		send		type
      ascii		disconnect	idle		mlsd		page		rate		sendport	umask
      bell		edit		image		mlst		passive		rcvbuf		set		unset
      binary		epsv4		lcd		mode		pdir		recv		site		usage
      bye		exit		less		modtime		pls		reget		size		user
      case		features	lpage		more		pmlsd		remopts		sndbuf		verbose
      cd		fget		lpwd		mput		preserve	rename		status		xferbuf
      cdup		form		ls		mreget		progress	reset		struct		?
      chmod		ftp		macdef		msend		prompt		restart		sunique
      close		gate		mdelete		newer		proxy		rhelp		system
      ftp>

? ←- 명령어 보기

ls ←- 서버쪽 리스트 !ls ←- 클라이언트 리스트