{
  "id": 158305,
  "title": "Copying file from input to kaggle/working",
  "url": "/competitions/global-wheat-detection/discussion/158305",
  "author_name": "",
  "post_date": "2020-06-13T19:16:57.770663Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I have a file that I uploaded to input/datasetname. Now, I want to copy that file to kaggle/working/somefolder. However, for every copy, open, or lisdir command I get- \n<strong>[Errno 2] No such file or directory: '../input/global-wheat-detection/train'</strong>\nThe path ../input is not working for any files in the input. Can someone tell me why this path is not working, I'm new to kaggle notebooks.\nMoreover, is there any way to upload files directly to /kaggle/working ?</p>",
  "messages": [
    {
      "id": "884975",
      "postDate": "06/13/2020 19:16:57",
      "content": "<p>I have a file that I uploaded to input/datasetname. Now, I want to copy that file to kaggle/working/somefolder. However, for every copy, open, or lisdir command I get- \n<strong>[Errno 2] No such file or directory: '../input/global-wheat-detection/train'</strong>\nThe path ../input is not working for any files in the input. Can someone tell me why this path is not working, I'm new to kaggle notebooks.\nMoreover, is there any way to upload files directly to /kaggle/working ?</p>",
      "rawMarkdown": "I have a file that I uploaded to input/datasetname. Now, I want to copy that file to kaggle/working/somefolder. However, for every copy, open, or lisdir command I get- \n**[Errno 2] No such file or directory: '../input/global-wheat-detection/train'**\nThe path ../input is not working for any files in the input. Can someone tell me why this path is not working, I'm new to kaggle notebooks.\nMoreover, is there any way to upload files directly to /kaggle/working ?",
      "votes": null
    },
    {
      "id": "885142",
      "postDate": "06/14/2020 00:13:27",
      "content": "<p>Hi, <a href=\"/therohanverma\">@therohanverma</a> \nFor the first problem, I think you could try to use the absolute path <code>/kaggle/input/...</code> instead.\nIt's not possible to directly upload files to <code>/kaggle/working</code> directory, yet you could upload them as a kaggle dataset then use the importing feature in the kaggle notebook.</p>",
      "rawMarkdown": "Hi, @therohanverma \nFor the first problem, I think you could try to use the absolute path `/kaggle/input/...` instead.\nIt's not possible to directly upload files to `/kaggle/working` directory, yet you could upload them as a kaggle dataset then use the importing feature in the kaggle notebook.",
      "votes": null
    },
    {
      "id": "885549",
      "postDate": "06/14/2020 10:01:53",
      "content": "<p>Thanks. /kaggle/input worked </p>",
      "rawMarkdown": "Thanks. /kaggle/input worked",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 885142,
      "author_name": "phunghieu",
      "author_url": "",
      "post_date": "06/14/2020 00:13:27",
      "content": "<p>Hi, <a href=\"/therohanverma\">@therohanverma</a> \nFor the first problem, I think you could try to use the absolute path <code>/kaggle/input/...</code> instead.\nIt's not possible to directly upload files to <code>/kaggle/working</code> directory, yet you could upload them as a kaggle dataset then use the importing feature in the kaggle notebook.</p>",
      "votes": null,
      "replies": [
        {
          "id": 885549,
          "author_name": "therohanverma",
          "author_url": "",
          "post_date": "06/14/2020 10:01:53",
          "content": "<p>Thanks. /kaggle/input worked </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "884975": "I have a file that I uploaded to input/datasetname. Now, I want to copy that file to kaggle/working/somefolder. However, for every copy, open, or lisdir command I get- \n**[Errno 2] No such file or directory: '../input/global-wheat-detection/train'**\nThe path ../input is not working for any files in the input. Can someone tell me why this path is not working, I'm new to kaggle notebooks.\nMoreover, is there any way to upload files directly to /kaggle/working ?",
    "885142": "Hi, @therohanverma \nFor the first problem, I think you could try to use the absolute path `/kaggle/input/...` instead.\nIt's not possible to directly upload files to `/kaggle/working` directory, yet you could upload them as a kaggle dataset then use the importing feature in the kaggle notebook.",
    "885549": "Thanks. /kaggle/input worked"
  },
  "source": "meta"
}