I am using CURL commands in shell script file to download .apk file from one place and load it to another
wget -c https://example.net -O abc.apk
source="abc.apk"
dest="abc.apk"
securityToken="Actual Token"
url="https://another.com/services/repositories/GROUP:abc/${dest}?operation=upload&securityToken=${securityToken}&overwrite=true)"
curl -X POST -T "$source" "$url"
But I am not getting any error and even file is not getting uploaded.
When I run from VM I get:
{"errorMessage":"Failed to upload repository item - Value true) for overwrite parameter is not a valid boolean value."}
Note: Target URL is the Perfecto URL.