Yes I’m sure. I have several requests with other URLs and everything is working fine. This is specific to sharepoint servers and I found also this link : https://sharepoint.stackexchange.com/questions/120844/automating-upload-and-download-using-script-in-linux-system
It explains that I need to add the -k option when calling : curl -k --ntlm -u username:password -O http://dest.sharepoint.com/Folder/file.txt I read in the documentation about NTLM issues fixed before. How could I use it without username and password? Regards, Slim From: curl-library [mailto:[email protected]] On Behalf Of Amine Aouled Hamed via curl-library Sent: vendredi 24 novembre 2017 14:28 To: libcurl development <[email protected]> Cc: Amine Aouled Hamed <[email protected]> Subject: Re: image can't be downloaded from sharepoint server using libcurl (c++ code): HTTP/1.1 503 Service Unavailable From the error code its straightforward to assume the error is server-side and so the client side (where curl is used) should be fine. Are you sure you included all the needed information and the correct url in your request? Amine. On Fri, Nov 24, 2017 at 2:01 PM, Erik Janssen <[email protected]<mailto:[email protected]>> wrote: I don’t think this list is the right place to find help, unless someone happens to be a fluent sharepoint user Curl-wise everything works doesn’t it? Erik From: curl-library [mailto:[email protected]<mailto:[email protected]>] On Behalf Of RHAIEM, Mohamed Slim via curl-library Sent: vrijdag 24 november 2017 12:26 To: [email protected]<mailto:[email protected]> Cc: RHAIEM, Mohamed Slim <[email protected]<mailto:[email protected]>> Subject: image can't be downloaded from sharepoint server using libcurl (c++ code): HTTP/1.1 503 Service Unavailable Hello, I’m using libcurl with C++ code in order to get locally some images based on their URL. This is working with different kinds of images but not when deployed in a sharepoint server: in that case I’m receiving the following message: < HTTP/1.1 503 Service Unavailable < Cache-Control: no-cache < Pragma: no-cache < Content-Type: text/html; charset=utf-8 < Proxy-Connection: Keep-Alive < Connection: Keep-Alive < Content-Length: 8703 This happens with different servers each time I’m using sharepoint. Could you please help? Best Regards, Slim ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
