473,327 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

C++ with libcurl issue

Hi,

I have linked libcurl library (v7.19.6) statically with my C++ application. Using curl, we upload & download files to/from the window azure storage webservice using https. The download works for smaller files with few KBs. But for files with size greater than 50 MB, the download fails with the error CURLE_PARTIAL_FILE. This issue occurs randomly ie., some times the file was downloaded successfully without issue and some times, the same file fails with the error. The OpenSSL version used is 0.9.8j.

This issue occurs in both in Windows & linux platforms.

Any idea to solve this issue.

Regards,
Srinivasan
Oct 30 '09 #1
2 5519
Banfa
9,065 Expert Mod 8TB
CURLE_PARTIAL_FILE is not an error, it is a warning (CURL error reference) indicating that the data size supplied by the server is not the same as the size it said it was going to supply.

There can be a number of reasons for this, for example transfer of a text file from a Linux to a Windows system with translation of newlines on. but you will need to determine the exact cause of the extra or missing data.
Nov 1 '09 #2
Hi,

Thanks for your reply.

Actually, I identified the cause for the problem.

It seems that the problem is in our network where some external forces abort the connection while the blob is actively downloading (identified by using some network analyzer). I have tested my application many times in other networks (like AWS EC2 instance) and the issue haven't reproduced.

Regards,
Srini
Nov 3 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael T. Peterson | last post by:
Hi, What are the differences, if any, between these two libraries? The curl website doesn't mention php_curl.dll and php websites often use libcurl and php_curl interchangeably. Thanks, ...
0
by: loris128 | last post by:
A port of the famous libCURL for the .net platform http://sourceforge.net/projects/libcurl-net/ Has anyone used this? Is it good? >From a search in the newsgroops it seems like noone has...
0
by: Yandos | last post by:
Hello all, I'm sorry for a bit off-topic post, but curl does not have own newsgroup, so I hope someone might help me here... I need to feed form like the following using libcurl: <form...
1
by: Sylvain/11XX | last post by:
Dear all, In order to retrieve and parse a XML document over internet (through http) I use libcurl and expat in my C program. For some long item I have 2 callback, that's ok for the moment....
0
by: Raj | last post by:
Hi, I am newbie to programming with libcurl. the problem is i want to send my gmail username and password outside the browser and get access to my mail. this i am doing with LibCurl. Though i dont...
0
by: Raj | last post by:
Hi, I am newbie to programming with libcurl. the problem is i want to send my gmail username and password outside the browser and get access to my mail. this i am doing with LibCurl. Though i dont...
2
by: Giuseppe | last post by:
Hi everybody, this is my first post in this group since it is from little time that I have begun to learn c++. My problem is to post a web form using the libcurl library. The form is at this...
2
by: borucik | last post by:
I am trying to use libcurl with Visual C++ 2005 Express Edition. I downloaded the file from here: http://curl.haxx.se/dlwiz/?type=lib&os=Win32&flav=-&ver=2000%2FXP It is the 7.16.0 version of the...
3
by: Jake | last post by:
Hi, I am trying to make an application in C which must establish a telnet session with a remote server, execute some scripts on the remote server and close down the telnet session. I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.