Hi all I trying download from malformed? Url with: CURL *curl_handle; FILE *pagefile; curl_global_init(CURL_GLOBAL_ALL); curl_handle = curl_easy_init(); curl_easy_setopt(curl_handle, CURLOPT_URL, Linkout); But donwload fails! * Adding handle: conn: 0xb9b1c8 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0xb9b1c8) send_pipe: 1, recv_pipe: 0 * About to connect() to www.aeiou.it port 80 (#0) * Trying 193.111.71.146... * Connected to www.aeiou.it (193.111.71.146) port 80 (#0)
GET /aeiou-gis/FrameTelecamera?tlc=36&tipo=F&ids=37f48b08&index=1 HTTP/1.1
Host: www.aeiou.it Accept: */* < HTTP/1.1 302 Moved Temporarily < Date: Thu, 14 Aug 2014 10:31:41 GMT * Server Apache is not blacklisted < Server: Apache < X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=2 00710221139)/Tomcat-5.5 < Cache-Control: no-store, no-cache, must-revalidate < Location: http://www.aeiou.it/aeiou-gis/images/noaccess.gif < Content-Length: 0 < Vary: Accept-Encoding,User-Agent < Content-Type: text/plain < Content-Language: it <* Connection #0 to host www.aeiou.it left intact Is possible download from url like this: http://www.aeiou.it/aeiou-gis/FrameTelecamera?tlc=33&tipo=F&ids=2f8d51e3&index=2 or to use some special option? Thanks Regards ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
