Try this and see if it works for you.
PHP Code:
$path = '/uploads/docs/'.$name; // set the file path
force_download($path, null, true);
null - will read the contents from the path
true - will force the mime type to the filename
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )