Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用此脚本通过 FTP 上传文件。但是,它正在上传到服务器的根文件夹。 谁能告诉我将文件上传到远程服务器上的特定路径,比如“/CurrentQA”?
在此行之前:
ECHO binary >> %Commands%
尝试添加这一行:
ECHO cd /some/directory >> %Commands%
这应该在远程服务器中输入所需的目录(虽然我还没有测试过)。