---
title: "move to public · RUAL Documentation"
description: "Moves the given files to a new public destination."
canonical: https://docs.rual.nl/block-types/files/file_move_public
language: en
---

# move to public

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Moves the given files to a new public destination.

- flow `flow`

- files required `file`

- destination required `value`

- flow `flow`

- success `condition`

- error `value`

- files `file`

A typical wiring for [move to public](https://docs.rual.nl/block-types/files/file_move_public): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `value` pin; [branch](https://docs.rual.nl/block-types/flow/branch) feeds the `flow` pin; [rename](https://docs.rual.nl/block-types/files/file_rename) feeds the `file` pin; the `flow` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch); the `value` out pin feeds [rename](https://docs.rual.nl/block-types/files/file_rename).

![Studio canvas example for the move to public block: typical wiring for move to public.](https://docs.rual.nl/canvas-examples/file_move_public.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [branch](https://docs.rual.nl/block-types/flow/branch): wired in both directions with this block.

- [rename](https://docs.rual.nl/block-types/files/file_rename): wired in both directions with this block. Renames the given files.

- [value](https://docs.rual.nl/block-types/value/value_default): feeds into this block. Simply returns the provided value.

- [create](https://docs.rual.nl/block-types/globals/trigger_custom_function): feeds into this block. Creates a new function that can be executed using the given name.

- [resize](https://docs.rual.nl/block-types/files/function_resize_image): this block feeds into it. resize given images with new dimensions.

- [get link](https://docs.rual.nl/block-types/files/file_get_link): this block feeds into it. Returns the link of a given file which can be used as a img src. Will only work with public files.

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
