File system Move

File system Move

Certified

Move or rename a file over SMB

Moves/renames a file on an SMB/CIFS share; destination directories are created when missing. Default port 445.

yaml
type: io.kestra.plugin.fs.smb.Move
yaml
id: fs_smb_move
namespace: company.team

tasks:
  - id: move
    type: io.kestra.plugin.fs.smb.Move
    host: localhost
    port: "445"
    username: foo
    password: "{{ secret('SMB_PASSWORD') }}"
    from: "/my_share/dir1/file.txt"
    to: "/my_share/dir2/file.txt"
Properties

Source file or directory URI

Remote host

Destination URI

Full target path. If it ends with /, the source name is kept. Existing targets are replaced when overwrite is true.

Defaultfalse

Overwrite existing files

If false (default), fails when the destination already exists.

Password

Reference (ref) of the pluginDefaults to apply to this task.

Default445

Remote port

Username

Formaturi

The from uri

Formaturi

The destination uri