星期三, 七月 11, 2007

How to put files from Windows to UNIX

open CMD window in Windows, type

ftp 111.111.111.111 //UNIX server name ,

or :

ftp -i 111.111.111.111 //will not prompt to ask y/n for each file; if you already typed ftp 111.111.111.111, you can also just type prompt to switch the on/off of the y/n asking

type UNIX username and password when asked

cd to the path you want to transfer files to after the ftp>

ftp> cd location

type mput filename to transfer files:

ftp> mput fileA fileB

or transfer many files:

ftp> mput file*

 

I tried to use FTP on my own computer, one Network Map to the Windows server, the other Unix server to transfer the files, but quite slow. And coz I forgot to changed the transfer mode from Smart to ASCII, it prompt to ask me for each file coz the file sufix is .1 .2 .3 etc. :(

The method of this blog is much faster, thanks Eric for suggestion~

没有评论: