# Mender-cli cp cannot find file

**URL:** https://hub.mender.io/t/mender-cli-cp-cannot-find-file/7201
**Category:** General Discussions
**Tags:** mender-cli
**Created:** [October 1, 2024, 11:02am UTC](https://hub.mender.io/t/mender-cli-cp-cannot-find-file/7201 "2024-10-01T11:02:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bbasics](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/bbasics/32/2309_2.png) [@bbasics](https://hub.mender.io/u/bbasics)
#### Post date: [October 1, 2024, 11:02am UTC](https://hub.mender.io/t/mender-cli-cp-cannot-find-file/7201/1 "2024-10-01T11:02:03Z")

</div>

Hello!  
I’m trying to use:

```auto
mender-cli cp --token-value <token> --server https://eu.hosted.mender.io/ <device-id>:/home/root/<file> .

```

And it always sends

```auto
Configuration file not found. Continuing.
File not found on the device

FAILURE: Error: {"error": {"status_code": 404,"message": "Not Found"}}

```

But the file exists. I tried with multiple locations, and I can download the file in the mender website.

Can someone help me?  
Thank you in advance!
