i had a very similar problem recently. thanks for posting the curl- based solution. if you are interested in a haskell-only version (at least without curl), check out https://github.com/marcmo/andSync/blob/master/test/Upload.hs
the most of the code came from cabal since they have code to upload to hackage. but their solution didn't quite work for me since my webserver is kind a picky and always choked on some unexpected CRLF so i had to adapt is somehow. cheers, oliver On Mar 29, 12:42 am, Evgeny Dzhurinsky <[email protected]> wrote: > I found the solution - the header "expect" is not processed by the > server well, so I have had to explicitly set it to empty value - and > then it worked! > > -- > regards > Eugene Dzhurinsky > > _______________________________________________ > Haskell-Cafe mailing list > [email protected]http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
