鍍金池/ 問答/iOS  Linux  網(wǎng)絡安全/ 終端機一指令上傳文件到ftp?

終端機一指令上傳文件到ftp?

請問如何用 mac的終端機一指令可以上傳某資料夾的文件到指定的ftp去?

回答
編輯回答
心沉

mac (和很多unix一樣) 自帶ftp客戶端: /usr/bin/ftp

連接上后大概會使用 mput 等命令

2017年12月20日 15:16
編輯回答
糖豆豆
scp local_file remote_username@remote_ip:remote_folder  
2017年11月22日 03:53