Hi John, I did switch to MINGW (simply from the git client) some years ago when working on Windows (esp. at work). And having a bash just makes it so much better / easier / more predictable.
Just in case you're still looking for ways Best Sebastian On Fri, Jan 13, 2017 at 11:08 AM, John Le Brasseur <johnlebrass...@gmail.com > wrote: > Thank you very much Dave. > I will have to look at those. > I am trying using Bash on Windows 10 which is now possible, as an > alternative. > > > On 13 January 2017 at 10:44, Dave Cottlehuber <d...@skunkwerks.at> wrote: > > > 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:NtZl.6Dw@127.0.0.1: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 > > > > > John >