On Thu, 12 Jan 2017, at 15:05, John Le Brasseur wrote: > Hi Stefan. > I think it is something to do with the console. > I am on Windows but use the cmder(http://cmder.net/) console program > which > doesn't normally require me to escape special characters. > > I tried the normal DOS command window, which I normally avoid, and guess > what, it worked with the following command: > > curl -X PUT " > http://jlb333333:[email protected]:5984/albums/6e1295ed6c29495e54cc05947f18c8af/img.jpg?rev=34-4f33ba65127ea2f8cb67cd9e82fa2244" > --data-binary @img.jpg -H "Content-Type: image/jpeg" > > I knew my syntax was correct. > > Correct file size and type. > > The console gymnastics in Windows is the biggest problem for me. > > Thank you Stefan and Robert for the inputs.
Hi John, https://technet.microsoft.com/en-us/library/cc723564.aspx is the reference for dealing with windows escape rules. see also the dated but correct wrt windows shell quoting https://wiki.apache.org/couchdb/Quirks_on_Windows A+ Dave
