---
title: "Move File"
description: "Move a file from another storage bucket into upload storage."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/file/move"
---
# Move File

> Move a file from another storage bucket into upload storage.

<block-meta block="Yes" channels="Any" folder="file" group="File" groupTo="/build/workflows/blocks/file" icon="i-lucide-arrow-right-left" pipe="Value" scope="Any" tool="Yes" type="file.move">



</block-meta>

**Move File** copies the bytes into upload storage and updates the **same** file record (`id` unchanged). Files created in other buckets (chat, knowledge bases, and so on) can be moved into the shared upload library this way.

Use [Copy File](https://docs.vettero.com/build/workflows/blocks/file/copy) when you need a second file with a new id. Use [Persist File](https://docs.vettero.com/build/workflows/blocks/file/persist) only to clear expiry.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        File id
      </strong>
    </td>
    
    <td>
      Workspace file id (required)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the file is moved
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is the same file with updated `url` and `storage` (same shape as [Get File](https://docs.vettero.com/build/workflows/blocks/file/get)).

## Use case

- Promote a chat attachment into the Files library without changing ids already stored on a table.
- Normalize storage before sharing a stable public URL.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
