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:
      
      !		disconnect	lpage		newer		quote		size
      $		edit		lpwd		nlist		rate		sndbuf
      account		epsv4		ls		nmap		rcvbuf		status
      append		exit		macdef		ntrans		recv		struct
      ascii		features	mdelete		open		reget		sunique
      bell		fget		mdir		page		remopts		system
      binary		form		mget		passive		rename		tenex
      bye		ftp		mkdir		pdir		reset		throttle
      case		gate		mls		pls		restart		trace
      cd		get		mlsd		pmlsd		rhelp		type
      cdup		glob		mlst		preserve	rmdir		umask
      chmod		hash		mode		progress	rstatus		unset
      close		help		modtime		prompt		runique		usage
      cr		idle		more		proxy		send		user
      debug		image		mput		put		sendport	verbose
      delete		lcd		mreget		pwd		set		xferbuf
      dir		less		msend		quit		site		?
      ftp>