cURL / Mailing Lists / curl-library / Single Mail

curl-library

Corrupt downloaded file

From: Iskander Ben mahmoud <salexandre.bm_at_gmail.com>
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 :

./application_V2

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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-31