# Upload files using ODK-X Suitcase

**URL:** <https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583>\
**Category:** Support\
**Tags:** odk-x-suitcase\
**Created:** [April 26, 2024, 4:37pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583 "2024-04-26T16:37:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 26, 2024, 4:37pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/1 "2024-04-26T16:37:03Z")

</div>

Hello everyone. I would like to upload data from another data collection tool with ODK-X Suitcase. The problem is that I don’t really understand how it works. I created `assets` and `tables` subfolders as said in the documentation, but nothing changes. Are all columns required? Or have I misunderstood the documentation?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 26, 2024, 4:51pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/2 "2024-04-26T16:51:42Z")

</div>

Hi @Francky_NGUEMA!

When using ODK-X Suitcase to upload data, as well as creating the right folders structure, you need to include in the data the various operations you want to implement. See “Preparing your csv for upload”: [ODK-X Suitcase — ODK-X Docs](https://docs.odk-x.org/suitcase-intro/#preparing-your-csv-for-upload)

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 28, 2024, 11:50pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/3 "2024-04-28T23:50:33Z")

</div>

Hi @elmps2018 !  
Thanks for your answer. I followed the instructions on [ODK-X Suitcase — ODK-X Docs](https://docs.odk-x.org/suitcase-intro/#preparing-your-csv-for-upload) but nothing was uploaded. I’m surely missing something but at this point, i don’t know.

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 29, 2024, 3:10pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/4 "2024-04-29T15:10:15Z")

</div>

@Francky_NGUEMA are you using the command line or graphical interface? When you upload to you get any error or confirmation messages?

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 29, 2024, 3:53pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/5 "2024-04-29T15:53:26Z")

</div>

@elmps2018 i’m using `ODK-X Suitcase` and when i do the upload, it just said `Done`

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 29, 2024, 4:06pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/6 "2024-04-29T16:06:17Z")

</div>

@Francky_NGUEMA can you tell us a bit more about using it? So for example are you using it with the command line interface or the graphical interface? What steps do you take to upload (before it says done)?

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 29, 2024, 4:10pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/7 "2024-04-29T16:10:41Z")

</div>

I’m using it with the graphical interface. after opening the tool, I go to the upload tab and select the folder in which the file is located. then I click on upload and after a certain waiting time, it’s done.

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 29, 2024, 4:14pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/8 "2024-04-29T16:14:38Z")

</div>

@Francky_NGUEMA, great, do you have the operations included in the csv file in the folder you are uploading? For instance, DELETE, UPDATE, etc.? Do you have \_id and form\_id? See preparing your csv for upload here: [ODK-X Suitcase — ODK-X Docs](https://docs.odk-x.org/suitcase-intro/#preparing-your-csv-for-upload)

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 29, 2024, 9:14pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/9 "2024-04-29T21:14:16Z")

</div>

I have included the operation NEW, \_id and id\_form. Can the \_id be empty ? In my file it is not empty but has a specific value format

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 29, 2024, 9:29pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/10 "2024-04-29T21:29:30Z")

</div>

\_id should not be empty, since it’s the unique identifier in the data. I don’t think a specific format would cause problems, but if you want to try testing a much simpler \_id, like 123, you could test that to see if it solves the problem. Note that the column is \_form\_id not id\_form. If you’re able to share a snippet of data or fake data of the same structure that could help.

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 30, 2024, 11:23am UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/11 "2024-04-30T11:23:36Z")

</div>

I made a simple file to upload, i did not put all the columns but nothing was uploaded  
[sudesa.csv](https://forum.odk-x.org/uploads/short-url/rVBvTefG1I52BwLA1nbOs3gL0zJ.csv) (68 Bytes)

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 30, 2024, 3:28pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/12 "2024-04-30T15:28:05Z")

</div>

Thanks for sharing this. Nothing looks obviously wrong to me in the csv. Are you able to successfully download data from the server? Checking the server logs might help. You could also try using the command line interface instead in case that gives you more informative messages.

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 30, 2024, 3:55pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/13 "2024-04-30T15:55:03Z")

</div>

I can successfully download data from server. I do not know how to use the command line interface to upload data on the server. I attach a file containing data from the server  
[link\_unformatted.csv](https://forum.odk-x.org/uploads/short-url/bhbhpxAsv2H3RpqdodleLG8qdVY.csv) (960 Bytes)  
and another that I want to upload  
[sudesa - Copie.csv](https://forum.odk-x.org/uploads/short-url/gkrAFT2Owb4GQmjM1VNeieE1EuF.csv) (449 Bytes)

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [April 30, 2024, 4:18pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/14 "2024-04-30T16:18:57Z")

</div>

Good that you can download, that rules out some problems. The command line interface instructions are here: [ODK-X Suitcase — ODK-X Docs](https://docs.odk-x.org/suitcase-intro/#command-line-interface-cli) and also the logs on the server might help. I don’t see anything obviously wrong with the data you are trying to upload and download.

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [April 30, 2024, 4:27pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/15 "2024-04-30T16:27:35Z")

</div>

@elmps2018 i will take a look at the logs and the ODK-X Suitcase documentation. I will come back to you if i have any trouble. thanks

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [May 1, 2024, 9:14am UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/16 "2024-05-01T09:14:29Z")

</div>

I wanted to use the command line interface, but I got the following error `Error: Unable to access jarfile 'C:\Users\Francky\Downloads\ODK-X_Suitcase_v2.1.9.jar'`. when i run `C:\Users\Francky\Downloads\ODK-X_Suitcase_v2.1.9.jar --help` i got the result expected. So i do not understand what the upload does not want to work

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [May 1, 2024, 2:11pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/17 "2024-05-01T14:11:56Z")

</div>

Have you been able to access the server logs?

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [May 2, 2024, 12:48pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/18 "2024-05-02T12:48:03Z")

</div>

I saw the server logs but i didn’t see anything wrong

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [May 2, 2024, 3:32pm UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/19 "2024-05-02T15:32:42Z")

</div>

Do the server logs show the data being updated, or anything at all at the time you are trying the update?

---

<div class="post-metadata">

**Author:** ![Francky\_NGUEMA](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/francky_nguema/32/1117_2.png) [@Francky\_NGUEMA](https://forum.odk-x.org/u/Francky_NGUEMA)\
**Post date:** [May 3, 2024, 8:59am UTC](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583/20 "2024-05-03T08:59:58Z")

</div>

The server shows nothing about the upload

[Next page](https://forum.odk-x.org/t/upload-files-using-odk-x-suitcase/2583.md?page=2)
