강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

NCFTP 접속 후에 도움말 확인하기

작성자 정보

  • 관리자 작성
  • 작성일

컨텐츠 정보

본문

NCFTP 접속 후에 도움말 확인하기

 

 

 

 

ftp에서도 도움말을 확인하였듯이 ncftp에서도 ncftp에 대한 도움말을 확인하는 여러 가지 방법들이 있습니다.

 

 

 

 

 ncftp에는 ftp에서 사용하는 거의 모든 명령어를 동일하게 사용할 수 있으며 더욱이ftp에 없는 편리하고 독특한 명령어들도 있습니다.

 

 

 

 

 

 

아래의 예는 ncftp로 원격서버로 접속한 이후에 ncftp의 전체 명령어를 확인하기 위하여 “help”라고 한 것입니다.

 

 

 

 

 , 아래의 예와 같이 “help”라고 하면 ncftp의 전체명령어리스트를 보여줍니다.

 

 

 

 

 

 

[root@su252 ~]# ncftp 192.168.0.250

NcFTP 3.2.2 (Sep 04, 2022) by Mike Gleason (http://www.NcFTP.com/contact/).

Connecting to 192.168.0.250...                                                          

(vsFTPd 2.0.7)

Logging in...                                                                           

Login successful.

Logged in to 192.168.0.250.                                                              

ncftp / >

ncftp / > help

Commands may be abbreviated.  'help showall' shows hidden and unsupported

commands.  'help <command>' gives a brief description of <command>.

 

ascii      cat        get        lookup     mkdir      pwd        set     

bgget      cd         help       lpage      open       quit       show    

bgput      chmod      jobs       lpwd       page       quote      site    

bgstart    close      lcd        lrename    passive    rename     type    

binary     debug      lchmod     lrm        pdir       rhelp      umask   

bookmark   dir        lls        lrmdir     pls        rm         version 

bookmarks  edit       lmkdir     ls         put        rmdir     

 

For details, please see the manual ("man ncftp" at your regular shell prompt

or online at http://www.NcFTP.com/ncftp/doc/ncftp.html).

ncftp / >

 

 

 

 

그리고 다음과 같이 help대신 ?를 사용할 수도 있습니다.

 

 

 

 

 다음 예를 보시는 바와 같이 ?로도 help와 동일한 도움말을 확인할 수 있습니다.

 

 

 

 

 

 

[root@RockyLinux01 ~]# ncftp

NcFTP 3.2.6 (Nov 15, 2016) by Mike Gleason (http://www.NcFTP.com/contact/).

ncftp>

ncftp> ?

Commands may be abbreviated.  'help showall' shows hidden and unsupported

commands.  'help <command>' gives a brief description of <command>.

 

ascii      cat        get        lookup     mkdir      pwd        set

bgget      cd         help       lpage      open       quit       show

bgput      chmod      jobs       lpwd       page       quote      site

bgstart    close      lcd        lrename    passive    rename     type

binary     debug      lchmod     lrm        pdir       rhelp      umask

bookmark   dir        lls        lrmdir     pls        rm         version

bookmarks  edit       lmkdir     ls         put        rmdir

 

For details, please see the manual ("man ncftp" at your regular shell prompt

or online at http://www.NcFTP.com/ncftp/doc/ncftp.html).

ncftp>

ncftp>

 

 

 

 

그리고 다음은 ncftp의 많은 명령어들 중에 특정 명령어의 사용법과 도움말을 확인한 것입니다.

 

 

 

 

 , get이라는 ncftp의 도움말을 확인하기 위하여 “help get”이라고 한 것입니다.

 

 

 

 

 이 명령어 또한 “? get”과 동일합니다.

 

 

 

 

 

 

[root@RockyLinux01 ~]# ncftp

NcFTP 3.2.6 (Nov 15, 2016) by Mike Gleason (http://www.NcFTP.com/contact/).

ncftp>

ncftp> help get

get: fetches files from the remote host.

Usage: get [-flags] file1 [file2...]

Flags:

  -R   : Recursive.  Useful for fetching whole directories.

  -z   : Get the remote file file1, and name it to file2.

  -a   : Get files using ASCII mode.

  -A   : Append entire remote file to the local file.

  -f   : Force overwrite (do not try to auto-resume transfers).

Examples:

  get README

  get README.*

  get "**Name with stars and spaces in it**"

  get -R new-files-directory

  get -z WIN.INI ~/junk/windows-init-file

 

For details, please see the manual ("man ncftp" at your regular shell prompt

or online at http://www.NcFTP.com/ncftp/doc/ncftp.html).

ncftp>

ncftp>

 

 

 

 

그리고 다음은 put이라는 ncftp의 도움말을 확인하기 위하여 “help mput”이라고 한 것입니다.

 

 

 

 

 이 또한 “? mput”이라고 한 것과 동일합니다.

 

 

 

 

 

 

[root@RockyLinux01 ~]# ncftp

NcFTP 3.2.6 (Nov 15, 2016) by Mike Gleason (http://www.NcFTP.com/contact/).

ncftp>

ncftp> help mput

mput: sends files to the remote host.

Usage: mput [-flags] file1 [file2...]

Flags:

  -z   : Send the local file file1, and name the remote copy to file2.

  -f   : Force overwrite (do not try to auto-resume transfers).

  -a   : Send files using ASCII mode.

  -A   : Append entire local file to the remote file.

  -R   : Recursive.  Useful for sending whole directories.

Examples:

  put README

  put -z ~/junk/windows-init-file WIN.INI

 

For details, please see the manual ("man ncftp" at your regular shell prompt

or online at http://www.NcFTP.com/ncftp/doc/ncftp.html).

ncftp>

ncftp>

 

 

 

 

이상과 같은 방법으로 ncftp도움말을 확인할 수 있습니다.

 

 

 

 

 ncftp사용 중 가끔씩 특정 키나 옵션 등의 사용법이 생각이 나지 않을 때에 유용하게 사용할 수 있습니다.

 

 

 

 

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,042 명
  • 현재 강좌수 :  35,846 개
  • 현재 접속자 :  92 명