cURL / Mailing Lists / curl-library / Single Mail


Corrupt downloaded file

From: Iskander Ben mahmoud <>
Date: Sun, 31 Oct 2010 17:05:40 +0100

Hello every body,

i'm working on an application that use libcurl, and and add some function to
download automatically the update if it exists.
i'm on ubuntu and coding on c and i'm using gcc to compile files.

The problem is when i try to download th update, it works, the file is
completely downloaded but i cant excute it i got this message fox exemple :


bash: ./application_V2 : Permession not accorded

if i use

sudo ./application_V2

i got :

sudo: ./application_V2: command not found

note that the original file works and the downloaded file is not.

Any idea how to correct this ?

List admin:
Received on 2010-10-31