Blog for How to in Adobe CQ or WEM by Yogesh Upadhyay
Disclaimer: Information provided in this blog is for test purpose only and express my personal view. Adobe or Me will not be held responsible for damage caused on your system because of information. Please don't try any suggestion in production system without proper testing. This is not a Adobe supported blog.
If you are trying to upload a file instead of property, You can use something like, (This is even true for if you want to install a bundle using repo path in that case repo path would be something like /apps/your_app/install if this is Adobe bundle then something like /libs/adobe_modules/install and if this is system bundle (Like Authentication bundles) then it would be something like /libs/system/install
curl -u UID:PWD -T File_Location HOST:PORT/PATH
You can use .content.xml to create property like this
And then create a file called your_property-name.binary at same level and dump your binary content there. When you use maven-content-plugin to build package now, vlt knows how to transform this to a binary property.
Note that there are various way to create actual binary content in CQ using curl and some of them you can check here