/ ϸ 쿡 FTP mput  ϳ?

ǿ   
   ȸ 6556   õ 0    


현재 리눅스는 업무용으로 삼바나 ftp서버가 설치안되어있습니다

그리고,삼바나 ftp서버를 설치하면 안되는 상황입니다.

그래서 리눅스가 클라이언트가 되어 자기자신의 / 이하에 있는 모든 화일과 폴더를 

윈도우 FTP서버에 접속해서 다 카피해야하는데요...

mput *.* 으로 하니 폴더는 업로드가 안되네요.

어떻게 해야 될까요?




ª ϼ ϰ.
2014-07
ncftp ð

mput -r * Ͻø ˴ϴ.
     
ǿ 2014-07
߰ε...

Ͻý۱

[root@user ~]# df -k
Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      18158356  11550508  5685432  68% /
/dev/cciss/c0d0p1      101086    12431    83436  13% /boot
none                  1037480        0  1037480  0% /dev/shm
/dev/mapper/VolGroup00-LogVol02
                      12611112  5713092  6257408  48% /usr


Ǿִµ... ޾ƾ ϴ

 /dev/mapper/VolGroup00-LogVol00   /

/dev/mapper/VolGroup00-LogVol02 /usrε

/ ֽŴ ϸ ɰ

/dev/mapper/VolGroup00-LogVol02 /usr Ϸ  ̵ؾϳ?

/Ʒ usr ̶ /dev/mapper/VolGroup00-LogVol02 /usr̶ ٸ ƴѰ?

/usr filesystem õǵѰ...

׳ / ߴ... /usr ش޶⿡ ô..Ͻý ޶ ϴ ̾.

 ̵ؾϳ?
          
2014-07
Windows C: ̺, D: ̺ ϴ.

ġ "/" 丮 ؼ,  ʿ信 丮 ߰ ٿ մϴ.

׷Ƿ "/Ʒ usr ̶ /dev/mapper/VolGroup00-LogVol02 /usr̶" ̴ϴ.
               
ǿ 2014-07
մϴ!!!!!
2014-07
lftp ġؼ ,

mirror -R * ϸ ˴ϴ.
ǿ 2014-07
.. Ǿ־. /Ʒ usr /dev/mapper/VolGroup00-LogVol02 /usr ³?

[root@user /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      18G  12G  5.5G  68% /
/dev/cciss/c0d0p1      99M  13M  82M  13% /boot
none                1014M    0 1014M  0% /dev/shm
/dev/mapper/VolGroup00-LogVol02
                      13G  5.5G  6.0G  48% /usr


[root@user /]# ls
atempo  check  etc      initrd      media  nsr            opt    root    share  sys  usr-local-tomcat_110908.tar
bin    dev    home      lib        misc  ones+20140723  oracle  sbin    sms    tmp  var
boot    dflog  igloosec  lost+found  mnt    ones_bk.sh    proc    selinux  srv    usr
[root@user /]#
ǿ 2014-07
׷... ҹڹ  dz?

, н ҹڸ óϴµ..

쿡 ҹ ݾƿ...

usr, uSr ٸ..

ɷ ݾƿ..

usr uSrΰ ִٸ

usr, uSr״ ? ׸

ٸ ? ǹ̳׿.
     
2014-07
غø ƽð
׿ ߻մϴ.
Ȳ 2014-07
׳ ܼ ε
.....

id ϳ
id / ӱ ְ 켭 ftp
״ ޷ ...

ϴ ҹ Ͽ Ϻ ϴ.

ַ /home ̷ ̵ ϰŵ.
/ ͳ׿...
۾̶ ġ ٷ Žø ɵ ͳ׿.
nsys 2014-07
http://www.cryan.com/daily/20120224.jsp

ftp> put "| tar cvf - ." myfile.tar

--- ---

[aaaa][07-24 13:49:37] ~ $ ftp
ftp> open *.*.* xxxxxx
Connected to *.*.*
220 *.*.* ftp service
Name (*.*.*:aaaa): bbbb
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> passive                                                                                                       
Passive mode on.                                                                                                   
ftp> put "|tar cvf - *.pdf" test.tar
local: |tar cvf - *.pdf remote: test.tar
227 Entering Passive Mode (*,*,*,*,*,*).
7_140211_LIG_Two-Wheel_A4.pdf
150 Ok to send data.
S5PV210_UM_REV1.1.pdf
SEC_S5PC520A_EVT1.1_Users Guide_Ver.1.10.00.pdf
....
226 Transfer complete.
162969600 bytes sent in 14.01 secs (11362.2 kB/s)
ftp> ls
ftp> ls
227 Entering Passive Mode (*,*,*,*,*,*).
150 Here comes the directory listing.
...
-rw-r--r--    1 1000    1000    162969600 Jul 24 08:02 test.tar
...

--- FTP Ȯ ---

*@***_*** ~ $ tar tfv test.tar
-rwxrwxrwx aaaa/aaaa 499829 2014-07-21 17:39 7_140211_LIG_Two-Wheel_A4.pdf
-rwxr--r-- aaaa/aaaa 88736742 2010-05-20 13:30 S5PV210_UM_REV1.1.pdf
-rwxr--r-- aaaa/aaaa 64460331 2013-04-08 16:40 SEC_S5PC520A_EVT1.1_Users Guide_Ver.1.10.00.pdf
......

FTP ϴ. α׷ Ȯ ̴ϴ.

ٽ

ftp> put "|tar cvf - *.pdf" test.tar

κε

put "|tar cfp --exclude='/dev/*' --exclude='/sys/*' --exclude='/tmp/*' --exclude='/proc/*' --exclude='/usr/*' - /" root_backup.tar

̷ Ͻø մϴ.

Ʈ tar ɼ ؼ ø ǰڳ׿.
ϸ 2014-07
а ؼ ....^^
װ Ȯϰ ...ư ׷ϴ.


QnA
Page 3093/5686
2015-12   1508999   ް
2014-05   4972696   1
2020-01   4802   Ȧ0o0
2008-09   4802   ̹
2007-07   4802   ȫ
2007-09   4802  
2018-09   4802   λ
2014-05   4802   2cpumem
2020-11   4802   fiento
2016-09   4801   cpu
2006-10   4801   ر
2014-01   4801   10
2016-02   4801   Ȳ
2014-11   4801   Psuite
2016-01   4801   evoker
2014-08   4801   䳢ŴϾ
2014-02   4801   Leo
2020-03   4801   ʱ
2019-08   4801   ǿ
2015-01   4801   ī
2012-11   4801   α׾ƿ
2015-10   4801   ٺ