I am trying to push one tgz package to Artifactory using CURL API but the file contains spaces which are not pushing it. i have below command Can anyone provide some suggestions ?
curl -u admin:pwd -X PUT https://test.todo.com/artifactory/jenkins-transfer/migrate-man/central/central-test data.tgz -T /data5/central-test data.tgz
The error is:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0<!doctype html><html lang="en"><head><title>HTTP Status 505 ��� HTTP Version Not Supported</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;}