> ## Documentation Index
> Fetch the complete documentation index at: https://dbb.minionindustries.net/llms.txt
> Use this file to discover all available pages before exploring further.

# File Uploading

> Learn how to upload your bot files

Before uploading your files to the server, you first must make sure you have the proper files, in their respective directories(folders). Use the tree below as a guide in making sure you have set everything up corretly.

## File Tree

This is the file structure that you should be uploading to the server.

<Tree>
  <Tree.Folder name="blocks" defaultOpen>
    <Tree.File name="block1.js" />

    <Tree.File name="block2.js" />

    <Tree.File name="etc..." />
  </Tree.Folder>

  <Tree.Folder name="data" defaultOpen>
    <Tree.File name="data.json" />

    <Tree.File name="INTENTS.txt" />

    <Tree.File name="token.txt" />

    <Tree.File name="workspaces.json" />
  </Tree.Folder>

  <Tree.File name="bot.js" />

  <Tree.File name="package.json" />
</Tree>

<Danger>
  **DO NOT** upload the `node_modules` folder or the `package-lock.json` file
</Danger>

## Uploading Files

There are 3 options to uploading your bot files onto the server.

### ZIP-File Method <Badge stroke color="green">Easiest</Badge>

*Supports `.zip`, `.rar` or `.tar.gz` file types*

<Steps>
  <Step>
    Create a Zip File including the files of your Project (like mentioned in the message above)
  </Step>

  <Step>
    Upload the File to the Server in the "Files" Tab of the Panel Dashboard Website
  </Step>

  <Step>
    Next to the ZIP File click the 3 Points, and there press "Unarchive"
  </Step>

  <Step>
    Delete the ZIP once finished
  </Step>
</Steps>

### SFTP Method <Badge stroke color="blue">Recommended</Badge>

*Requires WinSCP, FileZilla, or similiar SFTP application to be installed*

<Steps>
  <Step>
    On Your Server, go to "Settings"
  </Step>

  <Step>
    There click on "Launch SFTP"
  </Step>

  <Step>
    Then a Window Pops-Up asking you for a password, enter your Dashboard Account Password and click "OK"
  </Step>

  <Step>
    Once connected, Upload your Bot Files to the "/" Directory of the Server.
  </Step>
</Steps>
