我正试图使用curl上传一个文件,但它说:
curl:(19)给定的文件不存在
此错误消息与源文件无关,它与目标相关。我知道这一点,因为当我使用FileZilla在服务器上创建一个空文件,然后上传它时,它运行得非常好。
我使用的命令:
curl -I --http1.0 -T "cache.txt" "ftp://user:passwd@fastdownload.nitrado.net/unturned/hash.php"发布于 2017-03-17 20:40:25
尝试使用cache.txt的完整路径,即:
curl -I --http1.0 -T "/full/path/to/cache.txt" "ftp://user:passwd@fastdownload.nitrado.net/unturned/hash.php"还要确保您对unturned dir具有适当的权限。
https://stackoverflow.com/questions/42866697
复制相似问题