Date :
2012.07.26
Category :
OS - Linux - Software
Note :
하위디렉토리 내의 모든 파일까지 업/다운로드 가능한 FTP Clinet.
Document :
NcFTP 홈페이지
http://www.ncftp.com/
NcFTP 사용법 참고
http://blog.naver.com/wordless?Redirect=Log&logNo=120020562571
NcFTP client 32bit Download Link
ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
NcFTP client 64bit Download Link
ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.5-linux-x86_64-glibc2.3-export.tar.gz
<ncftp client(32bit) install 과정>
[root@localhost Desktop]#
[root@localhost Desktop]# wget ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
--2012-07-26 11:26:45-- ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
=> `ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz'
Resolving ftp.ncftp.com... 209.197.102.38
Connecting to ftp.ncftp.com|209.197.102.38|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /ncftp/binaries ... done.
==> SIZE ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz ... 556564
==> PASV ... done. ==> RETR ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz ... done.
Length: 556564 (544K)
100%[=========================================================================>] 556,564 119K/s in 6.2s
2012-07-26 11:26:56 (87.6 KB/s) - `ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz' saved [556564]
[root@localhost Desktop]#
[root@localhost Desktop]#
[root@localhost Desktop]# ls
ftp-test ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz test TTCP
[root@localhost Desktop]# ls -l
total 564
drwxr-xr-x 5 root root 4096 Jul 26 10:49 ftp-test
-rw-r--r-- 1 root root 556564 Jul 26 11:26 ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
drwxr-xr-x 2 root root 4096 Jul 18 14:59 test
drwxrwxr-x 3 jschoi jschoi 4096 Dec 28 2011 TTCP
[root@localhost Desktop]# mkdir temp
[root@localhost Desktop]# mv ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz temp/
[root@localhost Desktop]# ll
total 20
drwxr-xr-x 5 root root 4096 Jul 26 10:49 ftp-test
drwxr-xr-x 2 root root 4096 Jul 26 11:27 temp
drwxr-xr-x 2 root root 4096 Jul 18 14:59 test
drwxrwxr-x 3 jschoi jschoi 4096 Dec 28 2011 TTCP
[root@localhost Desktop]# cd temp
[root@localhost temp]# ls
ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
[root@localhost temp]#
[root@localhost temp]# tar -xvzf ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
ncftp-3.2.5/
ncftp-3.2.5/DONATE.txt
ncftp-3.2.5/Makefile
ncftp-3.2.5/bin/
ncftp-3.2.5/bin/ncftp
ncftp-3.2.5/bin/ncftpput
ncftp-3.2.5/bin/ncftpbookmarks
ncftp-3.2.5/bin/ncftpls
ncftp-3.2.5/bin/ncftpspooler
ncftp-3.2.5/bin/ncftpbatch
ncftp-3.2.5/bin/ncftpget
ncftp-3.2.5/doc/
ncftp-3.2.5/doc/man/
ncftp-3.2.5/doc/man/ncftpbatch.1
ncftp-3.2.5/doc/man/ncftpls.1
ncftp-3.2.5/doc/man/ncftpput.1
ncftp-3.2.5/doc/man/ncftp.1
ncftp-3.2.5/doc/man/ncftpspooler.1
ncftp-3.2.5/doc/man/ncftpget.1
ncftp-3.2.5/doc/html/
ncftp-3.2.5/doc/html/ncftpput.html
ncftp-3.2.5/doc/html/ncftpbatch.html
ncftp-3.2.5/doc/html/ncftpspooler.html
ncftp-3.2.5/doc/html/ncftpls.html
ncftp-3.2.5/doc/html/ncftpget.html
ncftp-3.2.5/doc/html/ncftp.html
ncftp-3.2.5/doc/html/index.html
ncftp-3.2.5/doc/CHANGELOG.txt
ncftp-3.2.5/doc/FIREWALLS_AND_PROXIES.txt
ncftp-3.2.5/doc/LICENSE.txt
[root@localhost temp]# ls
ncftp-3.2.5 ncftp-3.2.5-linux-x86-glibc2.3-export.tar.gz
[root@localhost temp]# cd ncftp-3.2.5
[root@localhost ncftp-3.2.5]# ls
bin doc DONATE.txt Makefile
[root@localhost ncftp-3.2.5]# cat Makefile
# Generated automatically from Makefile.bin.in by configure.
#-----------------------------------------------------------------------------
#
# NcFTP binary distribution makefile
#
#-----------------------------------------------------------------------------
SHELL=/bin/sh
prefix=/usr/local
mandir=/usr/local/share/man
all:
-@echo "Try \"make install\" to install the package into the $(prefix) hierarchy."
install:
-@echo '..... Installing the programs .....'
-mkdir $(prefix)/bin $(mandir) $(mandir)/man1 2>/dev/null
-for f in ncftp ncftpget ncftpput ncftpbatch ncftpspooler ncftpls ; do \
/bin/rm -f $(prefix)/bin/$$f ; \
cp bin/$$f $(prefix)/bin/$$f ; \
chmod 755 $(prefix)/bin/$$f ; \
chown bin $(prefix)/bin/$$f 2>/dev/null ; \
chgrp bin $(prefix)/bin/$$f 2>/dev/null ; \
: ; \
done
-@/bin/rm -f $(prefix)/bin/ncftpspooler
-ln $(prefix)/bin/ncftpbatch $(prefix)/bin/ncftpspooler
-@cp bin/ncftpbookmarks $(prefix)/bin/ncftpbookmarks 2>/dev/null
-@chmod 755 $(prefix)/bin/ncftpbookmarks 2>/dev/null
-@chown bin $(prefix)/bin/ncftpbookmarks 2>/dev/null
-@chgrp bin $(prefix)/bin/ncftpbookmarks 2>/dev/null
-@/bin/ls -l $(prefix)/bin/ncftp $(prefix)/bin/ncftpget $(prefix)/bin/ncftpput $(prefix)/bin/ncftpbatch $(prefix)/bin/ncftpspooler $(prefix)/bin/ncftpls $(prefix)/bin/ncftpbookmarks
-@echo '..... Installing the manual pages .....'
for f in ncftp.1 ncftpget.1 ncftpput.1 ncftpbatch.1 ncftpspooler.1 ncftpls.1 ; do \
/bin/rm -f $(mandir)/man1/$$f ; \
cp doc/man/$$f $(mandir)/man1/$$f ; \
chmod 644 $(mandir)/man1/$$f ; \
done
-@echo 'Done installing NcFTP.'
[root@localhost ncftp-3.2.5]# make install
..... Installing the programs .....
mkdir /usr/local/bin /usr/local/share/man /usr/local/share/man/man1 2>/dev/null
make: [install] Error 1 (ignored)
for f in ncftp ncftpget ncftpput ncftpbatch ncftpspooler ncftpls ; do \
/bin/rm -f /usr/local/bin/$f ; \
cp bin/$f /usr/local/bin/$f ; \
chmod 755 /usr/local/bin/$f ; \
chown bin /usr/local/bin/$f 2>/dev/null ; \
chgrp bin /usr/local/bin/$f 2>/dev/null ; \
: ; \
done
ln /usr/local/bin/ncftpbatch /usr/local/bin/ncftpspooler
-rwxr-xr-x 1 bin bin 257264 Jul 26 11:30 /usr/local/bin/ncftp
-rwxr-xr-x 2 bin bin 178208 Jul 26 11:30 /usr/local/bin/ncftpbatch
-rwxr-xr-x 1 bin bin 115576 Jul 26 11:30 /usr/local/bin/ncftpbookmarks
-rwxr-xr-x 1 bin bin 172780 Jul 26 11:30 /usr/local/bin/ncftpget
-rwxr-xr-x 1 bin bin 143572 Jul 26 11:30 /usr/local/bin/ncftpls
-rwxr-xr-x 1 bin bin 168584 Jul 26 11:30 /usr/local/bin/ncftpput
-rwxr-xr-x 2 bin bin 178208 Jul 26 11:30 /usr/local/bin/ncftpspooler
..... Installing the manual pages .....
for f in ncftp.1 ncftpget.1 ncftpput.1 ncftpbatch.1 ncftpspooler.1 ncftpls.1 ; do \
/bin/rm -f /usr/local/share/man/man1/$f ; \
cp doc/man/$f /usr/local/share/man/man1/$f ; \
chmod 644 /usr/local/share/man/man1/$f ; \
done
Done installing NcFTP.
[root@localhost ncftp-3.2.5]#
<ncftp 업로드 예시>
[root@localhost ftp-test]# ncftp -u jschoi -p password 127.0.0.1
NcFTP 3.2.5 (Jan 10, 2011) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 127.0.0.1...
localhost.localdomain FTP server (Version 5.60) ready.
Logging in...
User jschoi logged in.
Logged in to 127.0.0.1.
ncftp /home/jschoi > 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 /home/jschoi > binary
ncftp /home/jschoi > help put
put: sends a file to the remote host.
Usage: put [-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 /home/jschoi > put -R *
1: 0.00 B 0.00 B/s
2: 0.00 B 0.00 B/s
3: 0.00 B 0.00 B/s
a/4: 0.00 B 0.00 B/s
a/5: 0.00 B 0.00 B/s
a/6: 0.00 B 0.00 B/s
a/d/454: 0.00 B 0.00 B/s
a/d/45: 0.00 B 0.00 B/s
send.sh: 330.00 B 7.96 kB/s
ncftp /home/jschoi > quit
[root@localhost ftp-test]#
'OS > Linux' 카테고리의 다른 글
데비안 locale 설정 (0) | 2013.02.27 |
---|---|
Debian_crunchbang 한글 입출력 설정 가이드 (0) | 2012.09.13 |
리눅스에서 "원하는 사이즈의 파일 생성기" (0) | 2012.07.18 |
RPM <-> DEB 변환 프로그램 "alien" (0) | 2012.05.23 |
CentOS 시간 및 지역시간 설정 (0) | 2011.11.09 |