我正在尝试使用 PuTTY SFTP 命令外壳在我的服务器上上传文件。我的队友一直在使用 Mac,Linux 是我们的服务器,所以他们有预定义的命令。
我在 Windows 上工作,需要执行以下操作(这些是 Mac 上用于 SFTP 的 ssh 命令):
# Copy from my laptop to my home directory /home/username
# Change the permissions on your folder:
chmod 777 /home/username # this is giving issues
# Change to the "ABC" user:
sudo su gcnweb # this is not working in windows
cd /path../ # Go to the deployment directories //no issues here
cp /path of the director/ # Copy the files from your home dir to the deployment dir //no issues here
请检查上面,如果有人可以帮助我在 Windows 中使用 PuTTY SFTP 解决相同的问题。