AnsweredAssumed Answered

Example of RESTful upload using curl please.

Question asked by billmce on Apr 8, 2010
Latest reply on Jun 27, 2012 by dnallsopp
This forum would really benefit from a generic example of "how to" upload a file using the command line utility curl.

I can figure out the rest if I can see what's required … and I don't have time to learn JAVA to accomplish this (our project is PHP).
From searching this forum it's clear that I'm not the only one who'd find this useful as a learning and debugging technique.

So, using curl (command line, not php) how would one use the POST to upload a file to the repository using one of the sample webscripts for uploading?

Thanks in advance.

I am having some success, I can upload using one method, it's just not working exactly like I want it.