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

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

阅读 3.8k
2 个回答

mac (和很多unix一样) 自带ftp客户端: /usr/bin/ftp

连接上后大概会使用 mput 等命令

scp local_file remote_username@remote_ip:remote_folder  
推荐问题