Please help me with the curl command to install and upload package in nexus repository to my local AEM server.
Command used:
curl -u <userId>:<password> -F file=@"<complete nexus url for the package till .zip>" -F name="<name of the package zip folder>" -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp
Error received:
couldn't open file <complete nexus url for the package till .zip>
The file should be a file that is accessible by the account you are using to run the curl command. Usually, this file is located on the same machine where the curl command is being executed from.