小编Jud*_*les的帖子

使用curl与NTLM auth发布帖子失败

我似乎无法绕过这个.我正在尝试编写自动上传csv的脚本,但卷曲失败了401.

curl -v --ntlm -u username --upload-file ~/galaxy/forums/pt_update.csv https://connect.example.com/11063/csv_import?op=add -k
Enter host password for user 'username:
* About to connect() to connect.example.com port 443 (#0)
*   Trying x.x.x.x... connected
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, …
Run Code Online (Sandbox Code Playgroud)

curl ntlm http request

22
推荐指数
2
解决办法
5万
查看次数

标签 统计

curl ×1

http ×1

ntlm ×1

request ×1