首先你必须要登录到对方的 FTP 服务器上(例如:1.2.3.4),然后再使用命令:cd /github,进入 github 子目录;最后你就可以使用 put filename(单个文件) ,或者 mput filename* (多个文件),即可将文件上传到 github 子目录中。