先 (s)ftp <ftp_address>, 登入之後会看到 ftp>
=========== 以下为指令 =============
open <ftp_address> : open link to <ftp_address>
user <userID> : specify login user name
//
// 以上两个指令如果已经登入就不用再下了
cd <dirName> : change directory to the <dirName> of the ftp machine
ls : list the content of the current directory of the
ftp machine
lcd <dirName> : change the directory of the local machine
//
// lls command not found? 就开另外一个 local window ls 一下吧!
get <fileName> : get the <fileName> from ftp machine to local
put <fileName> : put the <fileName> from local to ftp machine
prompt : toggle the interactive mode
// sftp 免
mget <fileName*> : get multiple files (can have * sign)
mput <fileName*> : get multiple files (can have * sign)
//
// 以上两个指令最好先下 prompt, 免得一直被问
ascii : change the transfer type to ASCII
bin : change the transfer type to BINARY
//
// 不一定要用, 通常会自动侦测, 而且 sftp 应该是没有这两个指令
bye : 就掰罗!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.224.43.28
※ 编辑: ric2k1 来自: 61.224.43.28 (10/05 23:31)
※ 编辑: ric2k1 来自: 61.224.43.28 (10/05 23:32)
1F:推 bnsblue:直接连线 sftp [-oPort=<port_num>] [user@]host 10/05 23:35
2F:→ bnsblue:port一定要比host先specify 10/05 23:35